Skip to content

Commit

Permalink
standardize on the timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwyles committed Jun 14, 2024
1 parent 711793c commit 5f6f0c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/mattermost.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down Expand Up @@ -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 });

});

0 comments on commit 5f6f0c7

Please sign in to comment.