feat: add integration tests to pre-commit hook #261
Annotations
3 errors, 3 warnings, and 1 notice
|
Validate Code Quality
Process completed with exit code 1.
|
|
[chromium] › e2e/cases.spec.ts:54:6 › Case management › delete a case:
e2e/cases.spec.ts#L60
1) [chromium] › e2e/cases.spec.ts:54:6 › Case management › delete a case ─────────────────────────
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('Name') to be visible
58 | // Create a throwaway case first
59 | await dashboard.createCaseButton.click();
> 60 | await page.getByLabel("Name").waitFor({ state: "visible" });
| ^
61 | await page.getByLabel("Name").fill("Delete Me Case");
62 | await page.getByLabel("Description").fill("To be deleted");
63 | await page.getByRole("button", { name: "Submit" }).click();
at /home/runner/work/AssurancePlatform/AssurancePlatform/e2e/cases.spec.ts:60:33
|
|
[chromium] › e2e/cases.spec.ts:54:6 › Case management › delete a case:
e2e/cases.spec.ts#L0
1) [chromium] › e2e/cases.spec.ts:54:6 › Case management › delete a case ─────────────────────────
Test timeout of 30000ms exceeded.
|
|
Validate Code Quality
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run Tests
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › e2e/cases.spec.ts:54:6 › Case management › delete a case ──────────────────────────
22 passed (48.6s)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
alan-turing-institute~AssurancePlatform~GTB6MP.dockerbuild
|
92.4 KB |
sha256:4b1e9fa0985a30ab43089d01c3fcbd02e393d7c00174b07418a9586abb42f0ef
|
|
|
test-results
Expired
|
1.6 MB |
sha256:8b105e96c1398d5817250a49f5dbd9669d411f8fdbd5f0bcd66b39e83c5ff1ef
|
|