diff --git a/cypress/integration/submission_spec.js b/cypress/integration/submission_spec.js index cad63d740744b32c84c1a19a3cb657f46b263632..7277cb50faaddb474a8a79a249dd73627d987b25 100644 --- a/cypress/integration/submission_spec.js +++ b/cypress/integration/submission_spec.js @@ -1,12 +1,8 @@ // TODO: What's with the wait? const login = (username, password = 'password') => { - cy.get('input[name="username"]') - .click() - .type(username) - cy.get('input[name="password"]') - .click() - .type(password) + cy.get('input[name="username"]').type(username) + cy.get('input[name="password"]').type(password) cy.get('button[type="submit"]').click() } diff --git a/scripts/clearAndSeed.js b/scripts/clearAndSeed.js index 12d6bc882aca7160e6eaba43ebba8cf0819c4339..4a450aaf487eb5eb7402c312ff5c781d70ea5996 100644 --- a/scripts/clearAndSeed.js +++ b/scripts/clearAndSeed.js @@ -31,7 +31,6 @@ const clearDb = async () => { const seed = async dumpSql => { if (dumpSql) { await clearDb() - console.log(dumpSql) await db.raw(dumpSql) console.log('Cleared the database and restored from dump') return true