Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,22 @@
"main": "index.js",
"scripts": {
"test": "npx playwright test",
<<<<<<< HEAD
"test:headed": "npx playwright test --headed",
"test:chromium": "npx playwright test --project=chromium",
"test:firefox": "npx playwright test --project=firefox",
"test:report": "npx playwright test && npx playwright show-report",
"test:debug": "npx playwright test --debug",
"test:trace": "npx playwright test --trace on",
"test:slow": "npx playwright test --slow-mo 1000",
"test:grep": "npx playwright test --grep @smoke",
"test:grep-invert": "npx playwright test --grep-invert @smoke",
=======
"test:chromium": "npx playwright test --project chromium",
"test:first": "npx playwright test --grep @first",
"test:local": "BASE_URL=http://localhost:4200 npx playwright test",
"test:report": "npx playwright test && npx playwright show-report",
>>>>>>> upstream/main
"test:ui": "npx playwright test --ui"
},
"keywords": [],
Expand Down
10 changes: 10 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,23 @@ export default defineConfig({
{
name: "chromium",
dependencies: ["setup"],
<<<<<<< HEAD
use: { ...devices['Desktop Chrome'], permissions: ["clipboard-read"] },
},
{
name: 'firefox',
dependencies: ["setup"],
use: { ...devices['Desktop Firefox'] },
}
=======
use: { ...devices["Desktop Chrome"], permissions: ["clipboard-read"] },
},
// {
// name: 'firefox',
// dependencies: ["setup"],
// use: { ...devices['Desktop Firefox'] },
// },
>>>>>>> upstream/main

// {
// name: 'webkit',
Expand Down
12 changes: 12 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "CommonJS",
"moduleResolution": "Node",
"types": ["node"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true
},
"include": ["**/*.ts"]
}