feat: upload E2E test screenshots (#215)

This commit is contained in:
kimatata
2025-04-27 21:11:52 +09:00
committed by GitHub
parent 5a55e56387
commit 384bfbba60
4 changed files with 7 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
name: e2e-report
path: |
playwright-report/
playwright-screenshots/

1
.gitignore vendored
View File

@@ -3,5 +3,6 @@ coverage/
.env
/test-results/
/playwright-report/
/playwright-screenshots/
/blob-report/
/playwright/.cache/

View File

@@ -1,7 +1,7 @@
import { test, expect } from '@playwright/test';
test('First User signup and create project', async ({ page }) => {
const screenshotDir = 'playwright-report/screenshots/first-user-signup';
const screenshotDir = 'playwright-screenshots/first-user-signup';
// Move to Sign up page
await page.goto('http://localhost:8000/en/account/signup');

View File

@@ -94,7 +94,7 @@ export default function HeaderNavbarMenu({ messages, locale }: Props) {
<NavbarItem className="hidden md:block">
<Chip size="sm" variant="flat">
<Link className="data-[active=true]:text-primary data-[active=true]:font-medium" href="/" locale={locale}>
1.0.0-beta.10
1.0.0-beta.11
</Link>
</Chip>
</NavbarItem>