Fix action and test
Some checks failed
Build / Build application (push) Failing after 3m19s

This commit is contained in:
Kevin Kandlbinder 2024-11-12 15:48:45 +00:00
parent fcef383183
commit 73a596e68d
2 changed files with 12 additions and 3 deletions

View file

@ -28,8 +28,17 @@ jobs:
name: Lint code name: Lint code
- run: npm run build - run: npm run build
name: Build project name: Build project
- name: Install Playwright browsers
run: npx playwright install --with-deps
- run: npm test - run: npm test
name: Test project name: Test project
- uses: actions/upload-artifact@v4
name: Upload Playwright report
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- run: npm run build-storybook - run: npm run build-storybook
name: Build storybook name: Build storybook
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4

View file

@ -1,6 +1,6 @@
//import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
/*test('home page has expected h1', async ({ page }) => { test('home page', async ({ page }) => {
await page.goto('/'); await page.goto('/');
await expect(page.locator('h1')).toBeVisible(); await expect(page.locator('h1')).toBeVisible();
});*/ });