diff --git a/package.json b/package.json index f9eee43..6386594 100644 --- a/package.json +++ b/package.json @@ -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": [], diff --git a/playwright.config.ts b/playwright.config.ts index e1d54b5..7580627 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -48,6 +48,15 @@ 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"] }, }, // { @@ -55,6 +64,7 @@ export default defineConfig({ // dependencies: ["setup"], // use: { ...devices['Desktop Firefox'] }, // }, +>>>>>>> upstream/main // { // name: 'webkit', diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..429b000 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "CommonJS", + "moduleResolution": "Node", + "types": ["node"], + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true + }, + "include": ["**/*.ts"] +} \ No newline at end of file