From ce49a7ec275a27d780663a76dbd5c7dab338dd3f Mon Sep 17 00:00:00 2001 From: CvdLans <93982741+CvdL-UM@users.noreply.github.com> Date: Wed, 9 Oct 2024 12:41:44 +0200 Subject: [PATCH] refactor: Remove wait for --- lawnotation-ui/tests/04-not-loggedin.spec.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/lawnotation-ui/tests/04-not-loggedin.spec.ts b/lawnotation-ui/tests/04-not-loggedin.spec.ts index 67c71b9d..d1ea4686 100644 --- a/lawnotation-ui/tests/04-not-loggedin.spec.ts +++ b/lawnotation-ui/tests/04-not-loggedin.spec.ts @@ -11,7 +11,6 @@ test('Not logged in user goes to documentation and downloads an ECLI', async ({ await eclisInput.press('Enter'); await page.getByTestId('download-button').click(); - await page.getByRole("alert").waitFor(); await expect(page.getByRole("alert")).toContainText("One .zip file containing 1 documents has been downloaded!"); });