From c2dfa30bad7f17f702985a535f8a0d72b0f47183 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Wed, 19 Sep 2018 15:35:31 +0100 Subject: Add some Cypress tests for the map list pages. Including testing the filters, viewing a report, and pushState. Plus a mock MapIt handler for returning a GeoJSON outline, to make the page load. The BASE_URL is also set to the same as the test server, as that is used in list link output. --- bin/browser-tests | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/browser-tests') diff --git a/bin/browser-tests b/bin/browser-tests index f1af32871..a8568a583 100755 --- a/bin/browser-tests +++ b/bin/browser-tests @@ -64,6 +64,7 @@ sub run { # Want this to be like .com ALLOWED_COBRANDS => [ 'fixmystreet' ], MAPIT_URL => 'https://mapit.uk/', + BASE_URL => 'http://localhost:3001', }); $ENV{FMS_OVERRIDE_CONFIG} = $config_out; -- cgit v1.2.3