Re-add step definition of unrelated cucumber

This commit is contained in:
Robert Schäfer 2019-01-21 15:46:38 +01:00
parent 6efa2b01c9
commit fb18264387

View File

@ -56,6 +56,11 @@ Then('I see the login screen again', () => {
cy.location('pathname').should('contain', '/login')
})
Then('I can click on my profile picture in the top right corner', () => {
cy.get('.avatar-menu').click()
cy.get('.avatar-menu-popover')
})
Then('I am still logged in', () => {
cy.get('.avatar-menu').click()
cy.get('.avatar-menu-popover').contains(users.admin.name)