Skip to content

Commit

Permalink
chore: bump ts-playwright-test-runner Playwright and Node version
Browse files Browse the repository at this point in the history
  • Loading branch information
barjin committed Dec 18, 2024
1 parent 4848e7b commit 9cbd79b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/ts-playwright-test-runner/.actor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM apify/actor-node-playwright:20-1.37.1
FROM apify/actor-node-playwright:22-1.49.1

COPY package*.json ./

Expand Down
1 change: 1 addition & 0 deletions templates/ts-playwright-test-runner/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ storage
# generated test results
playwright-report
test-results.json
test-results

# installed files
node_modules
Expand Down
1 change: 1 addition & 0 deletions templates/ts-playwright-test-runner/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ dist
playwright-report
src/tests
test-results.json
test-results/
2 changes: 1 addition & 1 deletion templates/ts-playwright-test-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"@apify/eslint-config-ts": "^0.3.0",
"@apify/tsconfig": "^0.1.0",
"@playwright/test": "1.37.1",
"@playwright/test": "1.49.1",
"@types/uuid": "^9.0.4",
"apify": "^3.2.6",
"tsx": "^4.6.2",
Expand Down
5 changes: 5 additions & 0 deletions templates/ts-playwright-test-runner/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ export default defineConfig({
colorScheme: '${darkMode ? 'dark' : 'light'}',
locale: '${locale}',
video: '${video}',
launchOptions: {
args: [
'--disable-gpu',
]
},
},
reporter: [
['html', { outputFolder: '${getResultDir()}', open: 'never' }],
Expand Down

0 comments on commit 9cbd79b

Please sign in to comment.