From f0302fb15205c86e9cb86dcac29b092a4c1c18e0 Mon Sep 17 00:00:00 2001 From: Paul Sanders Date: Thu, 10 Aug 2023 19:49:37 -0400 Subject: [PATCH] Increase timeout --- frontend/tests/create_goals.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/tests/create_goals.spec.ts b/frontend/tests/create_goals.spec.ts index b3fa183f..7ecbdcd3 100644 --- a/frontend/tests/create_goals.spec.ts +++ b/frontend/tests/create_goals.spec.ts @@ -60,7 +60,7 @@ test('end to end create goal', async ({ page }) => { await page.locator('#time-bound').fill(timeBound); await page.locator('#save-goal-button').click(); await expect(page.locator('#toast-message')).toBeVisible(); - await expect(page).toHaveURL('/'); + await expect(page).toHaveURL('/', { timeout: 10000 }); await page.getByLabel('account settings').click(); await expect(page.locator('#btn-delete')).toBeVisible();