From fb182643874be6b5858b08c525fbc9165329a788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Mon, 21 Jan 2019 15:46:38 +0100 Subject: [PATCH] Re-add step definition of unrelated cucumber --- cypress/integration/common/steps.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index e34a06a31..cd4280578 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -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)