Skip to content

Commit

Permalink
chore: initial config for playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdikhashan committed May 12, 2024
1 parent e0cdf7d commit 8f5fdac
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 77 deletions.
20 changes: 20 additions & 0 deletions playwright.config.js
@@ -0,0 +1,20 @@
"use strict";

module.exports = {
testDir: "./test/e2e-playwright",
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
// eslint-disable-next-line no-undefined
workers: process.env.CI ? 1 : undefined,
reporter: "html",
use: {
trace: "on-first-retry",
},
projects: [
{
name: "chromium",
use: { browserName: "chromium" },
},
],
};
77 changes: 0 additions & 77 deletions playwright.config.ts

This file was deleted.

0 comments on commit 8f5fdac

Please sign in to comment.