Skip to content

Commit 30c3139

Browse files
committed
add playwright config
Much, much better than Selenium these days
1 parent 5bea8b7 commit 30c3139

4 files changed

Lines changed: 112 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/Yancy-*
44
db
55
django
6+
test-results

package-lock.json

Lines changed: 98 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"dependencies": {
3-
"@mojolicious/server-starter": "^1.0.1",
4-
"playwright": "^1.9.2",
5-
"tap": "^14.11.0"
2+
"type": "module",
3+
"devDependencies": {
4+
"@playwright/test": "^1.56.1",
5+
"@types/node": "^24.10.1",
6+
"@yancyjs/tap-playwright": "^0.0.5"
67
}
78
}

playwrite.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// playwright.config.ts
2+
import { PlaywrightTestConfig } from '@playwright/test';
3+
4+
const config: PlaywrightTestConfig = {
5+
reporter: '@yancyjs/tap-playwright',
6+
};
7+
8+
export default config;

0 commit comments

Comments
 (0)