diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b2462862..ef0e82e0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -91,7 +91,7 @@ jobs: run: npx playwright install chromium --with-deps - name: Run Playwright Tests - run: npm run playwright + run: npm run playwright:verbose - name: Store Artifacts from Failed Tests if: failure() diff --git a/package.json b/package.json index 42512504..9f01bc82 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,9 @@ "start": "ts-node ./server/server.ts", "type-check": "tsc --project tsconfig.json", "prepare": "husky install", - "playwright": "DEBUG=pw:api npx playwright test", + "playwright": "npx playwright test", "playwright:ui": "npx playwright test --ui", + "playwright:verbose": "DEBUG=pw:api npx playwright test", "test": "vitest", "test-coverage": "vitest --coverage" }, @@ -20,7 +21,8 @@ "*.{js,jsx,ts,tsx}": [ "prettier --list-different", "eslint --max-warnings 0", - "bash -c 'npm run type-check'" + "bash -c 'npm run type-check'", + "bash -c 'npm run playwright'" ] }, "dependencies": {