diff options
Diffstat (limited to '.cypress/cypress/integration/staff.js')
-rw-r--r-- | .cypress/cypress/integration/staff.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.cypress/cypress/integration/staff.js b/.cypress/cypress/integration/staff.js index 88afb5490..ab1de0749 100644 --- a/.cypress/cypress/integration/staff.js +++ b/.cypress/cypress/integration/staff.js @@ -17,7 +17,7 @@ describe('Staff user tests', function() { cy.get('[name=pc]').type(Cypress.env('postcode')); cy.get('[name=pc]').parents('form').submit(); cy.url().should('include', '/around'); - cy.get('#map_box').click(210, 200); + cy.get('#map_box').click(240, 249); cy.get('[name=form_as]').should('have.value', 'body'); cy.cleanUpXHR(); }); @@ -36,7 +36,7 @@ describe('Staff user tests', function() { cy.get('[name=pc]').type(Cypress.env('postcode')); cy.get('[name=pc]').parents('form').submit(); cy.url().should('include', '/around'); - cy.get('#map_box').click(210, 200); + cy.get('#map_box').click(240, 249); cy.wait('@report-ajax'); cy.get('select:eq(3)').select('Graffiti'); cy.get('[name=title]').should('have.value', 'A Graffiti problem has been found'); |