Traines
32792507ba
pretty-print fixtures
2025-01-11 19:08:29 +00:00
Traines
60656b0119
db: create fake walking leg for intra-station transfer
2025-01-11 18:39:32 +00:00
Traines
63bc542b1c
improve line details (fahrtNr, name, id), add tests
2025-01-10 18:55:14 +00:00
Traines
a624e62172
disable enrichStations for tests
2025-01-10 18:52:16 +00:00
Traines
126077582b
parse admincode, operator where available
2025-01-09 12:26:42 +00:00
Traines
bc676fd0b6
more tests, docs
2025-01-09 00:07:17 +00:00
Traines
98670d5e08
stop()
2025-01-08 23:24:40 +00:00
dabund24
632a29d2aa
Allow value -1
for transfers
option in journeys()
( #6 )
...
* allow value -1 for transfers option in journeys() for db and dbnav profiles
* add unit test for implicitly unconstrained transfers
* implement `formatTransfers()`, use it `formatJourneysReq()` functions and re-add corresponding unit test
2025-01-09 00:22:43 +01:00
Traines
87a705e966
dbnav journeys, trips, fixes
2025-01-03 10:57:24 +00:00
Traines
3d998de41c
dbnav boards, fixes
2025-01-02 14:00:45 +00:00
Traines
debc1ee150
dbnav profile: locations, nearby
2024-12-21 23:04:05 +00:00
Traines
9f5e1fa6bd
refactoring journeysReq
2024-12-21 16:15:10 +00:00
Traines
ec723b3414
refactoring
2024-12-21 15:26:49 +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
80195404bb
enrich stations with db-hafas-stations
2024-12-18 00:10:49 +00:00
Traines
5c5c1acd44
don't set undefined price fields
2024-12-17 20:43:54 +00:00
Traines
ed8683e8c2
fix int tests and invalid fields
2024-12-17 19:41:00 +00:00
Traines
5bb4e66c9a
boards: correctly handle missing rt info
2024-12-12 12:10:09 +00:00
Traines
760a1bdb54
refreshJourney with tickets, loyaltyCard/firstClass rest support, accept-lang
2024-12-11 23:51:58 +00:00
Traines
f8a79834b3
linting
2024-12-08 21:42:57 +00:00
Traines
0e328aa681
tests
2024-12-07 23:48:08 +00:00
Traines
80e633dcb7
arrival/departure, refactoring
2024-12-07 22:46:04 +00:00
Traines
2e094c2b78
initial db-vendo with /journeys (wip)
2024-12-07 16:17:16 +00:00
Jannis R
e9211e8105
ÖBB E2E/integration tests: update mocked when, update fixtures ✅
2024-09-26 00:42:35 +02:00
Jannis R
52f0dd19bb
SNCB E2E/integration tests: un-skip tests ✅
2024-09-25 21:53:00 +02:00
Jannis R
3c8bb905f3
BVG E2E/integration tests: update mocked when, update fixtures ✅
...
closes #323
2024-09-25 21:48:23 +02:00
Jannis R
97268d7a8a
DB: remove stop() v1.16 workaround
...
Also, `LocGeoPos`/nearby() doesn't seem to break with `getStops: false` anymore.
2024-07-16 12:10:43 +02: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
Paul Sutter
248adb5f72
DB refreshJourney(): optionally request ticket infos
...
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:50 +01:00
Jannis R
c826100bc8
E2E/integration tests: sort fixtures ✅
2024-03-12 01:18:21 +01: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
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
Jannis R
c85f083db5
overnight journey with next-day leg: add a working test case ✅
...
follow-up of a2870f6a
related: #301
2024-01-28 20:47:18 +01:00
Soeren Wegener
8a17401693
reproduce #301 : leg of an overnight journey completely within the next day ✅
...
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-01-28 20:47:18 +01:00
Daniel Bund
244e88dec0
add attribute additional
to additional stopovers ✅
2023-11-27 16:25:54 +01:00
Jannis R
0bc6ba3650
DB journeys(): pass along opt.age if defined ✅
2023-09-03 13:53:38 +02:00
Jannis R
a8401f36e1
DB: add test for profile.transformJourneysQuery() ✅
2023-09-03 13:53:27 +02: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
Traines
9a1ef7c586
apply leg-wide remarks if opt.stopovers
is false
2023-05-15 12:49:03 +02:00
Jannis R
8faf8ba507
DB: use ver 1.16 for stop() requests 🐛 , update integration test fixture ✅
...
fixes #288
2023-04-04 11:33:24 +02:00
Jannis R
2639448911
SNCB/NMBS: document profile as broken 📝 , skip E2E/integration tests ✅
...
related: https://github.com/public-transport/hafas-client/issues/284
2023-02-10 11:42:05 +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