aboutsummaryrefslogtreecommitdiffstats
path: root/.cypress
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-10-19 14:50:19 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-02-04 18:31:50 +0000
commitd4c2211cfc5b69f2777039088d91fe423f1c7c29 (patch)
treeb3af1be332503637f5b981cf611f47523a26ff7a /.cypress
parent47befd5dcbb3fefc6c4d99b65ee125275c3d8509 (diff)
Update URL whenever map moves, using replaceState.
Fixes #2242. Co-authored-by: Matthew Somerville <matthew@mysociety.org>
Diffstat (limited to '.cypress')
-rw-r--r--.cypress/cypress/integration/around_filters.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/.cypress/cypress/integration/around_filters.js b/.cypress/cypress/integration/around_filters.js
index d14fe34dd..7bd029856 100644
--- a/.cypress/cypress/integration/around_filters.js
+++ b/.cypress/cypress/integration/around_filters.js
@@ -19,7 +19,7 @@ describe('Around page filtering and push state', function() {
cy.wait('@update-results');
cy.contains('1 to 6 of 6');
cy.contains('Street light not working');
- cy.url().should('include', 'status=closed%2Cfixed');
+ cy.url().should('include', 'status=closed,fixed');
cy.get('#status_2').should('be.checked');
cy.go('back');
cy.wait('@update-results');
@@ -31,7 +31,7 @@ describe('Around page filtering and push state', function() {
cy.wait('@update-results');
cy.contains('1 to 6 of 6');
cy.contains('Street light not working');
- cy.url().should('include', 'status=closed%2Cfixed');
+ cy.url().should('include', 'status=closed,fixed');
cy.get('#status_2').should('be.checked');
});