Skip to content

Commit

Permalink
Try to fix flakyness of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucaspains committed Dec 19, 2024
1 parent b219345 commit be9d865
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@ const config: PlaywrightTestConfig = {
{
name: 'firefox',
use: {
...devices['DeskDesktop Firefox'],
...devices['Desktop Firefox'],
},
},
{
name: 'Mobile Chrome',
use: {
...devices['Pixel 5'],
...devices['Pixel 7'],
},
},
{
name: 'Mobile Safari',
use: {
...devices['iPhone 12'],
...devices['iPhone 15'],
},
},
],
Expand Down
1 change: 1 addition & 0 deletions tests/category-recipes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ test.beforeEach(async ({ page }) => {
});

await page.goto('/');
await page.waitForTimeout(200);

await page.goto('#/preview-features');
await page.getByTestId('enable-category-toggle').click();
Expand Down

0 comments on commit be9d865

Please sign in to comment.