Skip to content

Commit ba5a730

Browse files
committedJan 17, 2024
test: Fix broken tests
The message to be shown when credentials are wrong has been changed in the backend
1 parent 76ab614 commit ba5a730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎e2e/register/RegisterStudents.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ test.describe.serial("Student registration", () => {
8383
await page.getByRole("button", { name: "Submit" }).click();
8484

8585
// Assert the wrong credentials alert is shown
86-
await expect(page.getByText("Invalid credentials")).toBeVisible();
86+
await expect(page.getByText("Credentials are wrong")).toBeVisible();
8787

8888
// Fill the form with the correct credentials
8989
await page.getByLabel("Password").fill(getDefaultPassword());

0 commit comments

Comments
 (0)