From 5f6f0c7d06585e00f219743b048eb039ece3ee6f Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:25:06 -0500 Subject: [PATCH] standardize on the timeout --- tests/mattermost.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mattermost.test.ts b/tests/mattermost.test.ts index a7e871e7..37ead33e 100644 --- a/tests/mattermost.test.ts +++ b/tests/mattermost.test.ts @@ -64,7 +64,7 @@ test("send a message", async ({ page }) => { await page.goto('/unicorns/channels/town-square'); const el = page.locator(`#post_${post.id}`); - await expect(el).toContainText(post.message, { timeout: 15000 }); + await expect(el).toContainText(post.message, { timeout: 60_000 }); }); test("send a message with attachment", async ({ page }) => { @@ -99,6 +99,6 @@ test("send a message with attachment", async ({ page }) => { await page.goto('/unicorns/channels/town-square'); const el = page.locator(`#post_${post.id}`); - await expect(el).toContainText(post.message, { timeout: 15000 }); + await expect(el).toContainText(post.message, { timeout: 60_000 }); });