Skip to content

Commit c314f57

Browse files
committed
reconfigure some testing stuff, ignore upload step in action
1 parent 3987b24 commit c314f57

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

.github/workflows/test.yaml

-8
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,3 @@ jobs:
4242

4343
- name: Run Tests
4444
run: pnpm run test
45-
46-
- name: Upload Playwright Report
47-
uses: actions/upload-artifact@v4
48-
if: ${{ !cancelled() }}
49-
with:
50-
name: playwright-report
51-
path: playwright-report/
52-
retention-days: 30

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dev": "vite dev",
88
"build": "vite build",
99
"preview": "vite preview",
10-
"test": "npm run test:integration && npm run test:unit",
10+
"test": "pnpm run test:integration && pnpm run test:unit",
1111
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
1212
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
1313
"lint": "prettier --check . && eslint .",

test-results/.last-run.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2-
"status": "passed",
3-
"failedTests": []
4-
}
2+
"status": "failed",
3+
"failedTests": [
4+
"5f7b6aabace88f74752a-1b97bc9f8fb61ed19afc"
5+
]
6+
}

tests/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { expect, test } from '@playwright/test';
22

33
test('index page has expected h1', async ({ page }) => {
44
await page.goto('/');
5-
await expect(page.getByRole('heading', { name: "Let's build a dapp!!" })).toBeVisible();
5+
await expect(page.getByRole('heading', { name: "Hello, SvelteKit Passkeys!" })).toBeVisible();
66
});

0 commit comments

Comments
 (0)