Skip to content

Commit

Permalink
try increasing timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwyles committed Jun 13, 2024
1 parent db83416 commit 518606d
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);
await expect(el).toContainText(post.message, { timeout: 60000 });
});

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);
await expect(el).toContainText(post.message, { timeout: 60000 });

});

0 comments on commit 518606d

Please sign in to comment.