Skip to content

Commit

Permalink
chore: create test:ui playwright script
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermerodz committed Mar 10, 2024
1 parent 4abbb50 commit 35b44e0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"dev": "next dev --port=3039",
"lint": "next lint",
"test": "playwright test"
"test": "playwright test",
"test:ui": "playwright test --ui"
},
"dependencies": {
"clsx": "^2.1.0",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dev:test": "turbo run dev --filter=test...",
"storybook": "turbo run storybook",
"test": "turbo run test --filter=test...",
"test:ui": "turbo run test:ui --filter=test...",
"type-check": "turbo run type-check",
"lint:lib": "turbo run lint --filter=input-otp",
"format": "prettier --write .",
Expand Down
4 changes: 4 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"dependsOn": ["input-otp#build"],
"cache": false
},
"test:ui": {
"dependsOn": ["input-otp#build"],
"cache": false
},
"type-check": {
"cache": false
},
Expand Down

0 comments on commit 35b44e0

Please sign in to comment.