Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: "Chromatic"
name: 'Chromatic'

on: push
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
playwright:
Expand Down Expand Up @@ -40,8 +46,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
# ⚠️ See your package manager's documentation for the correct command to install dependencies in a CI environment.
- name:
Install dependencies
# ⚠️ See your package manager's documentation for the correct command to install dependencies in a CI environment.
run: yarn install
- name: Download Playwright test results
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "playwright test",
"test:ui": "playwright test --ui",
"test:playwright": "playwright test --reporter=html",
"deploy:report": "npm run test:playwright && cp -r playwright-report/* public/playwright-report/ && vercel --prod"
"deploy:report": "npm run test:playwright && cp -r playwright-report/* /public/playwright-report/ && vercel --prod"
},
"dependencies": {
"@axe-core/playwright": "^4.9.1",
Expand Down
6 changes: 5 additions & 1 deletion playwright-report/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default defineConfig({

baseURL:
process.env.PLAYWRIGHT_BASE_URL ||
'https://playwright-testing-tau.vercel.app' ||
'https://playwright-testing-website.vercel.app' ||
'http://localhost:3000',

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
Expand Down
2 changes: 1 addition & 1 deletion public/playwright-report/index.html

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions src/components/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ export default function Navigation() {
Contact
</a>
</li>
<li>
<a
data-testid="playwright-report"
className={styles.link}
href="/playwright-report"
target="_blank"
rel="noreferrer"
>
Playwright Report
</a>
</li>
</ul>
);
}

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading