aboutsummaryrefslogtreecommitdiffstats
path: root/.cypress/cypress/integration/simple_spec.js
diff options
context:
space:
mode:
Diffstat (limited to '.cypress/cypress/integration/simple_spec.js')
-rw-r--r--.cypress/cypress/integration/simple_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/.cypress/cypress/integration/simple_spec.js b/.cypress/cypress/integration/simple_spec.js
index 30f2a0218..003662d59 100644
--- a/.cypress/cypress/integration/simple_spec.js
+++ b/.cypress/cypress/integration/simple_spec.js
@@ -2,7 +2,7 @@ describe('Clicking the map', function() {
before(function(){
cy.visit('/');
cy.contains('Go');
- cy.get('[name=pc]').type('BS10 5EE');
+ cy.get('[name=pc]').type(Cypress.env('postcode'));
cy.get('[name=pc]').parents('form').submit();
});
@@ -23,7 +23,7 @@ describe('Clicking the map', function() {
describe('Clicking the "big green banner" on a map page', function() {
before(function() {
cy.visit('/');
- cy.get('[name=pc]').type('BS10 5EE');
+ cy.get('[name=pc]').type(Cypress.env('postcode'));
cy.get('[name=pc]').parents('form').submit();
cy.get('.big-green-banner').click();
});