From f5b3ddabe3cccb6036ded3b648550fcefaf694e3 Mon Sep 17 00:00:00 2001 From: Jure Triglav <juretriglav@gmail.com> Date: Thu, 5 Dec 2019 17:12:10 +0100 Subject: [PATCH] test: more tweaks --- cypress/integration/submission_spec.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/cypress/integration/submission_spec.js b/cypress/integration/submission_spec.js index 7277cb50fa..d0c08c9adb 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) => { -- GitLab