From 35b44e0312f288a6434fd6af623defd95ade12d7 Mon Sep 17 00:00:00 2001 From: Guilherme Rodz Date: Sun, 10 Mar 2024 03:18:19 -0300 Subject: [PATCH] chore: create test:ui playwright script --- apps/test/package.json | 3 ++- package.json | 1 + turbo.json | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/test/package.json b/apps/test/package.json index 981637c..86bac4f 100644 --- a/apps/test/package.json +++ b/apps/test/package.json @@ -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", diff --git a/package.json b/package.json index c4a31df..0c4f55d 100644 --- a/package.json +++ b/package.json @@ -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 .", diff --git a/turbo.json b/turbo.json index 14ff793..11f9571 100644 --- a/turbo.json +++ b/turbo.json @@ -19,6 +19,10 @@ "dependsOn": ["input-otp#build"], "cache": false }, + "test:ui": { + "dependsOn": ["input-otp#build"], + "cache": false + }, "type-check": { "cache": false },