Skip to content
Snippets Groups Projects
Commit f5b3ddab authored by Jure's avatar Jure
Browse files

test: more tweaks

parent eb9aaf39
No related branches found
No related tags found
No related merge requests found
// 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) => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment