Skip to content

Commit

Permalink
refactor: Fix test locally
Browse files Browse the repository at this point in the history
  • Loading branch information
CvdL-UM committed Oct 9, 2024
1 parent ce49a7e commit 241c26d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lawnotation-ui/tests/01-assignments-loggedin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ test('Annotator creates project, task, uploads document and assigns task', async
await projectRow.getByRole("checkbox").click();
await editorPage.getByTestId("remove-selected-rows").click();
await editorPage.getByRole('button', { name: 'Confirm' }).click();
await editorPage.getByRole("alert").waitFor();
await expect(editorPage.getByRole("alert")).toHaveText("Items succesfully removed");
await expect(editorPage.getByRole("alert").getByText("Items succesfully removed")).toBeVisible();
});

0 comments on commit 241c26d

Please sign in to comment.