From 61fc2293fb41df5a7c43a202df8707134cd51759 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Wed, 9 Nov 2022 18:25:04 +0100 Subject: [PATCH] =?UTF-8?q?E2E/integration=20tests:=20tweak=20assertions?= =?UTF-8?q?=20=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/e2e/insa.js | 2 +- test/e2e/lib/departures.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/insa.js b/test/e2e/insa.js index ac059a8f..0b58b9db 100644 --- a/test/e2e/insa.js +++ b/test/e2e/insa.js @@ -33,7 +33,7 @@ const cfg = { products, minLatitude: 50.7, maxLatitude: 53.2, - minLongitude: 10.25, + minLongitude: 9, // considering e.g. IC 245 maxLongitude: 13.4 } diff --git a/test/e2e/lib/departures.js b/test/e2e/lib/departures.js index 2b084d39..958f3036 100644 --- a/test/e2e/lib/departures.js +++ b/test/e2e/lib/departures.js @@ -17,7 +17,7 @@ const testDepartures = async (cfg) => { t.ok( ids.includes(stop.id) || (stop.station && ids.includes(stop.station.id)), - name + '.id is invalid', + `${name}.id is invalid (${stop.id}), must be one of ${ids.join('/')}`, ) }