Skip to content

Commit

Permalink
test: trying to fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
prncss-xyz committed Jun 20, 2024
1 parent 5a7bf09 commit 41ee502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig, devices } from "@playwright/test";

export default defineConfig({
testDir: "./tests",
fullyParallel: false,
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
Expand Down
1 change: 1 addition & 0 deletions tests/list.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ test("select next timer after alarm", async ({ page }) => {
});

test("/list screenshot", async ({ page }) => {
await delai(300);
await page.goto(local);
await expect(page).toHaveScreenshot();
await page.getByLabel("play").click();
Expand Down

0 comments on commit 41ee502

Please sign in to comment.