dabund24
c671e995cb
bahn.de boards ( #12 )
...
* parse bahn.de boards
* add optional chaining in line.js
* unit tests for bahn.de boards
* fix product check in line.js for bahn.de boards
* add integration tests for bahn.de boards
* allow letting hafas decide the amount of vias
* split dbweb and dbregioguide profiles; add db profile
* commit location-filter.js (forgot that in the last commit)
* simplify how db profile works
* remove `ezGleis` from coalesce for scheduled platform
* un-break parsing of remarks
* determine fahrtNr by removing all non-digits
* employ enrichStations for board stop property
* prevent timeouts in dbweb e2e test from calling `end()` twice
* use promises in dbweb e2e tests when waiting for enrichStations to work
* replace vias option with stopovers option for dbweb profile; enrich stations when only name is known
* change dbweb-departures test covering enrichStation feature for stop and stopovers
* remove check for not existing option
* move verkehrsmittel.name in front of verkehrsmittel.langText when parsing name in line.js
2025-02-09 00:46:21 +01:00
Traines
a624e62172
disable enrichStations for tests
2025-01-10 18:52:16 +00:00
Traines
87a705e966
dbnav journeys, trips, fixes
2025-01-03 10:57:24 +00:00
Traines
73b4d40e02
trip by id support
2024-12-18 01:16:57 +00:00
Traines
ed8683e8c2
fix int tests and invalid fields
2024-12-17 19:41:00 +00:00
Paul Sutter
d3bc9d351d
DB E2E tests: adjust assertValidTickets ✅
2024-03-12 01:19:01 +01:00
Paul Sutter
784d273adf
DB E2E tickets test: add fixtures ✅
...
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:54 +01:00
Paul Sutter
9365c00aaf
DB: add end-to-end test for tickets ✅
...
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:52 +01:00
Jannis R
90b1140401
radar(): relax bounding box checks 🐛 ✅
...
to allow crossing the antimeridian & poles
fixes https://github.com/derhuerst/hafas-monitor-trips/issues/12
2024-02-25 21:36:23 +01:00
Kristjan ESPERANTO
66d9fb5194
apply linting rules
...
follow-up of 228c7253
2024-02-10 16:50:12 +01:00
Lambert Theisen
5ce0129c36
DB: add routingModes option 📝 ✅
...
closes #295
fixes #287
Co-Authored-By: Jannis R <mail@jannisr.de>
2023-07-25 15:51:24 +02:00
Jannis R
92bbc63590
DB integration tests: update mocked when & fixtures ✅
2023-07-25 15:51:24 +02: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
63013d8306
skip leg cycle & alternatives integration tests ✅
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
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
30cb1f3d28
trip: remove lineName parameter, update integration test fixtures 💥 ✅ 📝
2022-11-18 19:20:03 +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
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
3c7d8f79b2
DB: fix journeysFromTrip E2E/integration test 🐛
2022-06-18 18:33:26 +02:00
Jannis R
119d291d10
DB integration tests: update mocked when to 2022-07-12 ✅
2022-04-26 22:07:41 +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
0114f587b2
adapt E2E tests to latest data ✅
2021-08-24 00:53:23 +02:00
Jannis R
4a7422fe56
DB: skip journeysFromTrip E2E/integration test ✅
2021-08-04 15:21:00 +02:00
Jannis R
aab7babbc2
DB: test for journeysFromTrip ✅
2021-08-04 15:21:00 +02:00
Jannis R
f1a19450fe
tape + tap-spec -> tap
2021-05-20 16:49:21 +01:00
Jannis R
3412a66f6a
DB integration/E2E tests: don' try to identify stations ✅
2021-05-20 16:38:40 +01:00
Jannis R
83dfc4456c
E2E/integration tests: fix/un-skip some tests ✅
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
96b4d55f56
re-upgrade profiles, adapt feature flags, adapt tests ✅
2021-05-01 10:58:45 +02:00
Jannis R
3e6d6d9917
add serverInfo(), E2E tests ✅
...
see also #145
2020-11-28 11:25:43 +01:00
Jannis R
fea27d3a4a
tests: make requests deterministic 💚
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