Commit graph

27 commits

Author SHA1 Message Date
Jannis R
336a9ba115
E2E/integration tests: configure Polly.js HTTP adapter correctly, minor tweaks
remotely related: https://github.com/nock/nock/issues/2461

Also silence a warning about the browser being offline.
2024-02-25 22:06:41 +01:00
Jannis R
9eeafd0ae8
E2E/integration tests: make sure tap teardown runs
may be related: https://github.com/tapjs/tapjs/issues/1005
2024-02-25 22:04:14 +01:00
Kristjan ESPERANTO
66d9fb5194
apply linting rules
follow-up of 228c7253
2024-02-10 16:50:12 +01:00
Jannis R
198d50e260
integration tests: circumvent broken CE gzip handling 2022-11-19 02:33:05 +01:00
Jannis R
573f4ce6d7
integration tests: ignore request order when matching mocks 2022-11-18 19:29:44 +01:00
Jannis R
c2a228a73a
integration test mocking: replayer -> Polly.js 2022-11-18 19:29:44 +01:00
Jannis R
339d64e901
convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
c4470ca962
arrivals/departures: return obj with realtimeDataUpdatedAt & results 💥📝 2022-11-17 15:17:02 +01:00
Jannis R
492fdeb2ef
add profile.randomizeUserAgent flag 📝 2022-11-17 15:17:01 +01:00
Jannis R
dda36c2da0
tests: enable linter, fix code style 2022-06-18 18:33:26 +02:00
Jannis R
1ab526d900
integration tests: define mocked when per profile
https://github.com/public-transport/hafas-client/pull/264#issuecomment-1107462890
2022-04-23 14:42:55 +02:00
Jannis R
e69d069d43
fix & un-skip ingration tests, update mocked when 2021-12-29 15:50:57 +01:00
Jannis R
959e894d42
E2E/integration tests: un-skip tests, update mocked when, update fixtures 2021-10-22 00:04:29 +02:00
Jannis R
0114f587b2
adapt E2E tests to latest data 2021-08-24 00:53:23 +02:00
Jannis R
f1a19450fe
tape + tap-spec -> tap 2021-05-20 16:49:21 +01:00
Jannis R
4aae0cbcb9 E2E/integration tests: update mocked when, update fixtures 2021-05-01 10:58:45 +02:00
Jannis R
99142acf8b
E2E/integration tests: update mocked when, update fixtures 2021-04-15 11:32:01 +02:00
Jannis R
ae66568c03
E2E/integration tests: update mocked when, update fixtures 2021-02-13 00:34:01 +01:00
Jannis R
3b142813e2 E2E/integration tests: update mocked when 2021-01-19 12:38:43 +01:00
Jannis R
ad6f76975b E2E/integration tests: update mocked when, update fixtures 2020-12-27 02:00:44 +01:00
Jannis R
c9f8cc680e E2E/integration tests: update mocked when 2020-09-15 11:36:24 +02:00
Jannis R
3109a92b19 improve E2E tests assertion output 2020-06-15 15:39:09 +02:00
Jannis R
fea27d3a4a tests: make requests deterministic 💚 2020-06-15 15:39:09 +02:00
Jannis R
0c3acaba46 integration testing using replayer 2020-06-15 15:39:09 +02:00
Jannis R
51b3ca3c20 tape@5, remove tape-promise 2020-06-15 15:39:09 +02:00
Jannis R
87e5649f89
improve E2E test reliability 💚 2020-04-10 17:20:09 +02:00
Jannis R
9318007455
move profile E2E tests to test/e2e 2020-01-05 18:10:08 +01:00
Renamed from test/lib/util.js (Browse further)