fix e2e test

This commit is contained in:
Konstantin Schaper
2023-03-27 15:45:27 +02:00
parent d257c8616c
commit 31117681e4

View File

@@ -41,7 +41,7 @@ describe("Create User", () => {
// Act
cy.visit("/users/create");
cy.byTestId("input-username").type(newUser);
cy.byTestId("input-username").clear().type(newUser).should("have.value", newUser);
cy.byTestId("input-displayname").type(newUser);
cy.byTestId("input-password").type(password);
cy.byTestId("input-password-confirmation").type(password);