mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
fixed integration test for defailt english locale
This commit is contained in:
parent
5d8cd73e30
commit
d804b47736
@ -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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user