Commit graph

45 commits

Author SHA1 Message Date
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
Jannis R
a621fd6df4
minor tweaks 2020-09-10 23:57:03 +02:00
Jannis R
dd88cea045
journeys E2E/integration tests: expect >=n results 2020-07-20 16:43:17 +02:00
Jannis R
3109a92b19 improve E2E tests assertion output 2020-06-15 15:39:09 +02:00
Jannis R
5fd2c27a06 adapt E2E test to latest data 💚
also:
- skip RMV reachableFrom() E2E test 💚
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