diff --git a/cypress/integration/submission_spec.js b/cypress/integration/submission_spec.js index 7277cb50faaddb474a8a79a249dd73627d987b25..d0c08c9adbff1d96328a8bb2588681e1f32e8b59 100644 --- a/cypress/integration/submission_spec.js +++ b/cypress/integration/submission_spec.js @@ -1,9 +1,16 @@ // TODO: What's with the wait? const login = (username, password = 'password') => { - cy.get('input[name="username"]').type(username) - cy.get('input[name="password"]').type(password) + cy.get('input[name="username"]') + .focus() + .type(username) + .blur() + cy.get('input[name="password"]') + .focus() + .type(password) + .blur() cy.get('button[type="submit"]').click() + // cy.wait(1000) } const doReview = (username, note, confidential, recommendation) => {