From 4902696c0a7918d334a6b63c37e8b33a1db47f73 Mon Sep 17 00:00:00 2001 From: Noam Gaash Date: Thu, 16 Nov 2023 21:05:49 +0200 Subject: [PATCH] wait for progress bar --- tests/clearButton.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/clearButton.spec.ts b/tests/clearButton.spec.ts index b60e69a1..4eec149b 100644 --- a/tests/clearButton.spec.ts +++ b/tests/clearButton.spec.ts @@ -59,6 +59,7 @@ test.describe('test clearButton ', () => { await page.goto('/') await page.getByText('נסיעות שלא יצאו', { exact: true }).click() await page.waitForURL(/gaps/) + await page.getByRole('progressbar').waitFor({ state: 'hidden' }) }) test('test in GapsPatternsPage', async ({ page }) => { await page.goto('/')