Commit graph

59 commits

Author SHA1 Message Date
Traines
bb692f4bc9 use proper correlation id 2025-01-11 23:37:07 +00:00
Traines
73b4d40e02 trip by id support 2024-12-18 01:16:57 +00:00
Traines
e14a909ebf linting 2024-12-18 00:40:37 +00:00
Traines
2a49495959 don't validate products (race cond) 2024-12-18 00:34:56 +00:00
Traines
ed8683e8c2 fix int tests and invalid fields 2024-12-17 19:41:00 +00:00
Traines
2e094c2b78 initial db-vendo with /journeys (wip) 2024-12-07 16:17:16 +00:00
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
0d965c585d
integration tests: update mocked when, adapt to latest schedules, re-add fixtures 2022-11-19 02:33:07 +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
44c8e37e5c
lines: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-18 19:20:02 +01:00
Jannis R
bb70081ceb
remarks: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-18 19:20:02 +01:00
Jannis R
2fcaa2304b
reachableFrom: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-17 15:25:01 +01:00
Jannis R
0cc50a918a
radar: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-17 15:25:01 +01:00
Jannis R
a0a4064bf0
trip/tripsByName: realtimeDataFrom -> separate realtimeDataUpdatedAt field 💥📝 2022-11-17 15:25:00 +01:00
Jannis R
3cbbc3c4da
refreshJourney: return journey as field 💥📝 2022-11-17 15:17:02 +01:00
Jannis R
751ae21d18
journeys/refreshJourney/journeysFromTrip: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-17 15:17:02 +01:00
Jannis R
c4470ca962
arrivals/departures: return obj with realtimeDataUpdatedAt & results 💥📝 2022-11-17 15:17:02 +01:00
Jannis R
b030eec1f5
use more async/await 💥 2022-11-17 15:17:02 +01:00
Jannis R
70ae1b48bc
VBB/BVG E2E/integration tests: refactor shared test utils 2022-11-17 15:17:02 +01:00
Jannis R
1ae1362916
BVG: remove vbb-parse-line 💥 2022-11-17 15:17:01 +01:00
Jannis R
492fdeb2ef
add profile.randomizeUserAgent flag 📝 2022-11-17 15:17:01 +01:00
Jannis R
61fc2293fb
E2E/integration tests: tweak assertions 2022-11-09 18:25:04 +01:00
Pieterjan Van Saet
7c68f962c1
parse{Stopover,JourneyLeg, Trip}: expose {arrival,departure}PrognosisType
see #266

Co-authored-by: Jannis R <mail@jannisr.de>
2022-07-22 01:06:35 +02:00
Jannis R
2ed2f38195
E2E/integration tests: DRY & tweak assertions 2022-06-18 18:33:26 +02:00
Jannis R
38cc9e9af8
E2E/integration tests: validate remarks 2022-06-18 18:33:26 +02: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
2edcd49e99
serverInfo: add opt.versionInfo 📝
Thanks to @alexander-albers!

see also https://github.com/alexander-albers/tripkit/issues/69#issuecomment-1048105228
2022-02-22 20:27:05 +01:00
Benoit Deldicque
57084262a2
add departure.destination & arrival.origin 📝
closes #260
fixes #259

Co-Authored-By: Jannis R <mail@jannisr.de>
2022-02-21 11:43:27 +01: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
40ec157869
BVG/VBB integration/E2E tests: don' try to identify stations 2021-05-20 16:42:11 +01:00
Jannis R
4aae0cbcb9 E2E/integration tests: update mocked when, update fixtures 2021-05-01 10:58:45 +02:00
Jannis R
3d50a212b5 remove E2E/integration opt.includeRelatedStations tests 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
2d3c0d6a94 E2E/integration validation logic: handle missing leg.alternatives[].when 2020-12-26 21:54:04 +01:00
Jannis R
3e6d6d9917 add serverInfo(), E2E tests
see also #145
2020-11-28 11:25:43 +01:00
Jannis R
b2a3ce4d66 E2E/integration tests: fix stopover & leg validation 🐛 2020-09-15 11:36:24 +02:00
Jannis R
c9f8cc680e E2E/integration tests: update mocked when 2020-09-15 11:36:24 +02:00
Jannis R
2d139c8235 improve E2E/integration test output 2020-09-15 11:36:24 +02:00