Commit graph

391 commits

Author SHA1 Message Date
Jannis R
198d50e260
integration tests: circumvent broken CE gzip handling 2022-11-19 02:33:05 +01:00
Jannis R
63013d8306
skip leg cycle & alternatives integration tests 2022-11-18 19:29:44 +01:00
Jannis R
573f4ce6d7
integration tests: ignore request order when matching mocks 2022-11-18 19:29:44 +01:00
Jannis R
d43d3bafe3
fix Nah.SH nearby() E2E/integration test 2022-11-18 19:29:44 +01:00
Jannis R
16671b6dc5
SNCB: re-enable reachableFrom 2022-11-18 19:29:44 +01:00
Jannis R
7b914ae939
skip & un-skip some E2E/integration tests 2022-11-18 19:29:44 +01:00
Jannis R
0349ebac20
remove HVV profile 💥
closes #262
closes #261
2022-11-18 19:29:44 +01:00
Jannis R
1e8b5982a2
remove SBB profile 💥
closes #246
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
dd52411f5a
remove integration test fixtures 2022-11-18 19:20:03 +01:00
Jannis R
e46514c5f9
DB: rename regionalExp product to regionalExpress 💥 2022-11-18 19:20:03 +01:00
Jannis R
339d64e901
convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
cef6dcaf0f
request: pass whole req body into transformReqBody 🐛 2022-11-18 19:20:03 +01:00
Jannis R
ef9e3765ee
parseLine: don't trim adminCode 💥 2022-11-18 19:20:03 +01:00
Jannis R
b740539081
parseTrip: remove trip.reachable 💥 2022-11-18 19:20:03 +01:00
Jannis R
30cb1f3d28
trip: remove lineName parameter, update integration test fixtures 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
c53316668d
integration tests: update mocked when & fixtures 2022-11-18 19:20:03 +01:00
Jannis R
44c8e37e5c
lines: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-18 19:20:02 +01:00
Jannis R
b1c2eb9b93
parseWarning: handle missing common.himMsgEventL[].{f,t}Time 🐛 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
a6411707e1
DB E2E test: cleanup 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
1000e48dfd
handle METHOD_NA/NO_MATCH/PARAMETER errors 2022-11-17 15:17:02 +01:00
Jannis R
9b263bb379
rework error handling 💥📝 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
f5962c4b7f
VBB E2E/integration tests: update mocked when & fixtures 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
7b0374695a
VBB: remove vbb-parse-line 💥 2022-11-17 15:17:01 +01:00
Jannis R
d2bc134645
VBB: don't shorten stop/station names 💥 2022-11-17 15:17:01 +01:00
Jannis R
5ecf03f349
VBB: don't convert 7/9 <-> 12 digit IDs 💥 2022-11-17 15:17:01 +01:00
Jannis R
df4124e31d
BVG: don't shorten names 💥 2022-11-17 15:17:01 +01:00
Jannis R
1f6115955d
BVG: don't convert IDs 💥 2022-11-17 15:17:01 +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
e0cdd55908
parseWarning: {from,to}Loc -> {from,to}Location 💥 2022-11-17 15:17:01 +01:00
Jannis R
a60083f8d1
parse trip.scheduledDays 2022-11-16 15:23:25 +01:00
Jannis R
b6900a3ddb
parse journey.scheduleDays using fpB & fpE 🐛
fixes #277

Thanks @bergmannjg!
2022-11-16 15:22:18 +01:00
Jannis R
61fc2293fb
E2E/integration tests: tweak assertions 2022-11-09 18:25:04 +01:00
Jannis R
0f7382e3b8
parse{Arrival,Departure}: properly parse .origin & .destination 🐛
fixes #273

Co-Authored-By: Jürgen Bergmann <bergmannj@posteo.de>
2022-10-15 14:02:11 +02:00
Jannis R
95af0a0127
parse{Arrival,Departure}: expose prognosisType
fixes #266
2022-07-22 01:07:09 +02: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
0a63698100
parse CHKI legs with checkin: true
fixes #267
2022-07-21 21:37:01 +02:00
Jannis R
2ed2f38195
E2E/integration tests: DRY & tweak assertions 2022-06-18 18:33:26 +02:00
Jannis R
bdf933f806
INSA E2E/integration tests: adapt to latest data, update mocked when & fixtures 2022-06-18 18:33:26 +02:00
Jannis R
38cc9e9af8
E2E/integration tests: validate remarks 2022-06-18 18:33:26 +02:00