fixed integration test for defailt english locale

This commit is contained in:
Grzegorz Leoniec 2018-12-18 16:10:45 +01:00
parent 5d8cd73e30
commit d804b47736
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -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) => {