diff --git a/e2e-tests/cypress/tests/cypress/e2e/models/ProfilePage.ts b/e2e-tests/cypress/tests/cypress/e2e/models/ProfilePage.ts index 51fba2b90..b280a0b2a 100644 --- a/e2e-tests/cypress/tests/cypress/e2e/models/ProfilePage.ts +++ b/e2e-tests/cypress/tests/cypress/e2e/models/ProfilePage.ts @@ -4,8 +4,8 @@ export class ProfilePage { // selectors openChangePassword = "[data-test=open-password-change-form]"; oldPasswordInput = "#password-input-field"; - newPasswordInput = "#Neues-Passwort-input-field"; - newPasswordRepeatInput = "#Neues-Passwort-wiederholen-input-field"; + newPasswordInput = "#New-password-input-field"; + newPasswordRepeatInput = "#Repeat-new-password-input-field"; submitNewPasswordBtn = "[data-test=submit-new-password-btn]"; goto() { diff --git a/e2e-tests/cypress/tests/cypress/support/step_definitions/the_user_cannot_login.ts b/e2e-tests/cypress/tests/cypress/support/step_definitions/the_user_cannot_login.ts index bec4e5f30..1f38747fe 100644 --- a/e2e-tests/cypress/tests/cypress/support/step_definitions/the_user_cannot_login.ts +++ b/e2e-tests/cypress/tests/cypress/support/step_definitions/the_user_cannot_login.ts @@ -3,9 +3,9 @@ import { Toasts } from "../../e2e/models/Toasts"; Then("the user cannot login", () => { const toast = new Toasts(); - cy.get(toast.toastTitle).should("contain.text", "Fehler!"); // 'Error!' + cy.get(toast.toastTitle).should("contain.text", "Error!"); cy.get(toast.toastMessage).should( "contain.text", - "Kein Benutzer mit diesen Anmeldedaten." - ); // 'No user with this credentials.' + "No user with this credentials." + ); });