Skip to content

Commit

Permalink
Fix failing e2e test (#335)
Browse files Browse the repository at this point in the history
* Fix failing test

* trigger
  • Loading branch information
streamer45 committed Feb 15, 2023
1 parent b9c9bd0 commit 82adc99
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ const config: PlaywrightTestConfig = {
forbidOnly: Boolean(process.env.CI),
retries: process.env.CI ? 2 : 1,
workers: 4,
timeout: 60 * 1000,
timeout: 30 * 1000,
expect: {
timeout: 30 * 1000,
timeout: 10 * 1000,
toMatchSnapshot: {
maxDiffPixelRatio: 0.05,
},
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/start_call.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ test.describe('switching products', () => {
await expect(devPage.page.locator('#calls-widget')).toBeVisible();

await devPage.page.locator('#calls-widget-participants-button').click();
const participantsList = devPage.page.locator('#calls-widget-participants-menu');
const participantsList = devPage.page.locator('#calls-widget-participants-list');
await expect(participantsList).toBeVisible();
expect(await participantsList.screenshot()).toMatchSnapshot('calls-widget-participants-list-boards.png');

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 82adc99

Please sign in to comment.