From d804b477367e5580115d5470bc03b59f2ffb02f3 Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Tue, 18 Dec 2018 16:10:45 +0100 Subject: [PATCH] fixed integration test for defailt english locale --- cypress/integration/common/steps.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index 49e975ea0..af0078279 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -70,9 +70,7 @@ Then('I can see my name {string} in the dropdown menu', () => { Then('I see the login screen again', () => { cy.location('pathname').should('contain', '/login') - cy.contains( - 'Wenn Du ein Konto bei Human Connection hast, melde Dich bitte hier an.' - ) + cy.contains('If you already have a human-connection account, login here.') }) Then('I am still logged in', () => { @@ -95,7 +93,7 @@ Then(`There should be a locale cooke set to de`, () => { When('I navigate to the administration dashboard', () => { cy.get('.avatar-menu').click() - cy.get('a').contains('Systemverwaltung').click() + cy.get('a').contains('Admin').click() }) When(`I click on {string}`, (linkOrButton) => {