Cleanup of tests

This commit is contained in:
Grzegorz Leoniec 2018-12-19 21:15:52 +01:00
parent 91a3b02260
commit 553004835c
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -98,9 +98,7 @@ Then(`There should be a locale cooke set to de`, () => {
}) })
When('I navigate to the administration dashboard', () => { When('I navigate to the administration dashboard', () => {
cy.get('.avatar-menu') cy.get('.avatar-menu').click()
.click()
.wait(50)
cy.get('.avatar-menu-popover') cy.get('.avatar-menu-popover')
.contains('Admin') .contains('Admin')
.click() .click()