aboutsummaryrefslogtreecommitdiffstats
path: root/.cypress
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-12-06 14:42:57 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-12-08 09:30:51 +0000
commitc5cb5b7bc7f0c2cd10939bcbe0bdfdaed0543329 (patch)
tree5add4a88e56fc6865b6cf4dda697158357051c77 /.cypress
parent1d1681c632774cf6ef00b6a9d20fe89077231cb9 (diff)
Show email form after logging in as leaving update
With the recent login changes, the user form was being hidden after logging in while leaving an update, meaning you had to click "Continue" to see the thing it was asking you to check. Refactor the update flow slightly in this area to be more like reporting, showing the relevant bit of the user form immediately (and thus also not having it within a hidden section).
Diffstat (limited to '.cypress')
-rw-r--r--.cypress/cypress/integration/simple_spec.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/.cypress/cypress/integration/simple_spec.js b/.cypress/cypress/integration/simple_spec.js
index 48c80840b..faf24f70e 100644
--- a/.cypress/cypress/integration/simple_spec.js
+++ b/.cypress/cypress/integration/simple_spec.js
@@ -32,7 +32,6 @@ describe('Leaving updates', function() {
cy.get('[name=password_sign_in]:last').type('password');
cy.get('[name=password_sign_in]:last').parents('form:first').submit();
cy.get('#map_sidebar').should('contain', 'check and confirm your details');
- cy.get('.js-new-report-user-show').click(); // Should not have to do this, #2340
cy.get('[name=submit_register]').parents('form').submit();
cy.get('body').should('contain', 'Thank you for updating this issue');
}