From 518606d4bc9054ae1b8de0df78f5f6156c643ef3 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:07:34 -0500 Subject: [PATCH] try increasing timeouts --- 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 7bd30a21..47b5b59c 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); + await expect(el).toContainText(post.message, { timeout: 60000 }); }); 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); + await expect(el).toContainText(post.message, { timeout: 60000 }); });