feat: upload E2E test screenshots (#215)
This commit is contained in:
7
.github/workflows/e2e.yml
vendored
7
.github/workflows/e2e.yml
vendored
@@ -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
1
.gitignore
vendored
@@ -3,5 +3,6 @@ coverage/
|
||||
.env
|
||||
/test-results/
|
||||
/playwright-report/
|
||||
/playwright-screenshots/
|
||||
/blob-report/
|
||||
/playwright/.cache/
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user