diff --git a/test/e2e/db.js b/test/e2e/db.js index 7fa26447..deddabab 100644 --- a/test/e2e/db.js +++ b/test/e2e/db.js @@ -399,7 +399,7 @@ test('line with additionalName', async (t) => { t.end() }) -test.skip('radar', async (t) => { +test('radar', async (t) => { await pStations const vehicles = await client.radar({ diff --git a/test/e2e/nahsh.js b/test/e2e/nahsh.js index 6c0ca040..ddacf66c 100644 --- a/test/e2e/nahsh.js +++ b/test/e2e/nahsh.js @@ -158,8 +158,7 @@ test('Kiel Hbf to Holstentor', async (t) => { t.end() }) -// todo: fails with "query too complex, try less intermediate stations" -test.skip('Husum to Lübeck Hbf with stopover at Kiel Hbf', async (t) => { +test('Husum to Lübeck Hbf with stopover at Kiel Hbf', async (t) => { const res = await client.journeys(husum, luebeckHbf, { via: kielHbf, results: 1, diff --git a/test/e2e/nvv.js b/test/e2e/nvv.js index 91b235b9..6f38a594 100644 --- a/test/e2e/nvv.js +++ b/test/e2e/nvv.js @@ -198,7 +198,7 @@ test('departures with station object', async (t) => { t.end() }) -test.skip('departures at Auestadion in direction of Friedrichsplatz', async (t) => { +test('departures at Auestadion in direction of Friedrichsplatz', async (t) => { await testDeparturesInDirection({ test: t, fetchDepartures: client.departures, @@ -211,9 +211,8 @@ test.skip('departures at Auestadion in direction of Friedrichsplatz', async (t) t.end() }) -// todo: also shows deps at 2200073 Scheidemannplatz & 2200055 Wilhelmsstraße/Stadtmuseum -test.skip('arrivals at Kassel Friedrichsplatz.', async (t) => { - const arrivals = await client.arrivals(friedrichsplatz, { +test('arrivals at Kassel Weigelstr.', async (t) => { + const arrivals = await client.arrivals(weigelstr, { duration: 5, when }) @@ -221,7 +220,7 @@ test.skip('arrivals at Kassel Friedrichsplatz.', async (t) => { test: t, arrivals, validate, - id: friedrichsplatz + id: weigelstr, }) t.end() }) diff --git a/test/e2e/rmv.js b/test/e2e/rmv.js index 239d6954..940b6704 100644 --- a/test/e2e/rmv.js +++ b/test/e2e/rmv.js @@ -91,8 +91,7 @@ test.skip('radar', async (t) => { t.end() }) -// todo: always fails with `LOCATION` ("location/stop not found") -test.skip('reachableFrom', async (t) => { +test('reachableFrom', async (t) => { await testReachableFrom({ test: t, reachableFrom: client.reachableFrom, diff --git a/test/e2e/rsag.js b/test/e2e/rsag.js index 1f730297..54af3077 100644 --- a/test/e2e/rsag.js +++ b/test/e2e/rsag.js @@ -65,7 +65,7 @@ test('earlier/later journeys', async (t) => { t.end() }) -test.skip('refreshJourney', async (t) => { +test('refreshJourney', async (t) => { await testRefreshJourney({ test: t, fetchJourneys: client.journeys, @@ -91,7 +91,7 @@ test('arrivals at Platz der Jugend', async (t) => { // todo: nearby -test.skip('radar', async (t) => { +test('radar', async (t) => { const vehicles = await client.radar({ north: 54.116968, west: 12.029738, @@ -105,8 +105,7 @@ test.skip('radar', async (t) => { t.end() }) -// todo: fails with "HCI Service: location missing or invalid" -test.skip('reachableFrom', async (t) => { +test('reachableFrom', async (t) => { await testReachableFrom({ test: t, reachableFrom: client.reachableFrom, diff --git a/test/e2e/vbn.js b/test/e2e/vbn.js index 0d73c999..66671e53 100644 --- a/test/e2e/vbn.js +++ b/test/e2e/vbn.js @@ -91,13 +91,13 @@ test('radar', async (t) => { }) // todo: fails with "HCI Service: location missing or invalid" -test.skip('reachableFrom', async (t) => { +test('reachableFrom', async (t) => { await testReachableFrom({ test: t, reachableFrom: client.reachableFrom, address: { type: 'location', - id: '910001453', + id: '910001336', name: 'Rathaus, Bremen', poi: true, latitude: 53.076053, longitude: 8.808008, diff --git a/test/e2e/vrn.js b/test/e2e/vrn.js index e551d37a..010c797b 100644 --- a/test/e2e/vrn.js +++ b/test/e2e/vrn.js @@ -157,15 +157,15 @@ test('departures at Meckesheim', async (t) => { t.end() }) -test.skip('departures at Meckesheim in direction of Mauer', async (t) => { - const zuzenhausen = '8006679' +test('departures at Meckesheim in direction of Reilsheim', async (t) => { + const reilsheim = '8005015' await testDeparturesInDirection({ test: t, fetchDepartures: client.departures, fetchTrip: client.trip, id: meckesheim, - directionIds: [zuzenhausen], - when, duration: 5 * 60, + directionIds: [reilsheim], + when, duration: 30 * 60, validate, }) t.end()