Commit dd3d7815 authored by Ana Ellis's avatar Ana Ellis

feat: moved resizeWindow to login func

parent 49dba53a
......@@ -15,7 +15,6 @@ fixture
const result = await setup()
author = result.userData
t => t.resizeWindow(1920, 1080)
await login.doLogin(author.username, author.password)
})
.afterEach(teardown)
......
......@@ -12,6 +12,7 @@ const login = {
doLogin: (username, password) =>
t
.resizeWindow(1920, 1080)
.navigateTo(login.url)
.typeText(login.username, username)
.typeText(login.password, password)
......
Markdown is supported
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