diff options
author | Struan Donald <struan@exo.org.uk> | 2018-09-19 15:35:31 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-02 11:10:36 +0100 |
commit | c2dfa30bad7f17f702985a535f8a0d72b0f47183 (patch) | |
tree | 11accaf802a78ccf62e580f7e41643cabd9436bd /bin | |
parent | af81846ae820d3f35d8009ca249891d51bb4eb13 (diff) |
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.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/browser-tests | 1 |
1 files changed, 1 insertions, 0 deletions
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; |