org name should be text-sm #90
Annotations
4 errors, 10 warnings, and 1 notice
|
e2e
Process completed with exit code 1.
|
|
[firefox] › tests/posts/kind.spec.ts:23:3 › Post kind filter › page posts should not appear in public news list:
tests/base.ts#L57
3) [firefox] › tests/posts/kind.spec.ts:23:3 › Post kind filter › page posts should not appear in public news list, admin should show type and filter
Error: Console errors/warnings:
[JavaScript Warning: "Loading failed for the module with source “http://localhost:3000/_nuxt/D9O8EvSe.js”." {file: "http://localhost:3000/" line: 0}]
[JavaScript Warning: "Loading failed for the module with source “http://localhost:3000/_nuxt/D9O8EvSe.js”." {file: "http://localhost:3000/posts" line: 0}]
at base.ts:57
55 | const all = [...errors, ...warnings]
56 | if (all.length > 0) {
> 57 | throw new Error(`Console errors/warnings:\n${all.join('\n')}`)
| ^
58 | }
59 | }, { auto: true }],
60 | })
at Object.base.extend.assertNoConsoleErrors.auto (/__w/cdata/cdata/tests/base.ts:57:13)
|
|
[firefox] › tests/edito/pages-editor.spec.ts:26:1 › can edit edito page with all bloc types:
tests/edito/pages-editor.spec.ts#L398
2) [firefox] › tests/edito/pages-editor.spec.ts:26:1 › can edit edito page with all bloc types ───
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 1280px by 5966px, received 1280px by 5946px. 220428 pixels (ratio 0.03 of all image pixels) are different.
Snapshot: edito-page-final.png
Call log:
- Expect "toHaveScreenshot(edito-page-final.png)" with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 1280px by 5966px, received 1280px by 5946px. 220428 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 1280px by 5966px, received 1280px by 5946px. 220428 pixels (ratio 0.03 of all image pixels) are different.
396 |
397 | // Take the final screenshot for visual regression testing
> 398 | await expect(page).toHaveScreenshot('edito-page-final.png', {
| ^
399 | mask: [page.getByTestId('user-avatar')],
400 | fullPage: true,
401 | maxDiffPixelRatio: 0.01, // Allow 1% pixel difference for minor rendering variations
at /__w/cdata/cdata/tests/edito/pages-editor.spec.ts:398:22
|
|
[chromium] › tests/edito/pages-editor.spec.ts:26:1 › can edit edito page with all bloc types:
tests/edito/pages-editor.spec.ts#L398
1) [chromium] › tests/edito/pages-editor.spec.ts:26:1 › can edit edito page with all bloc types ──
Error: expect(page).toHaveScreenshot(expected) failed
Expected an image 1280px by 5962px, received 1280px by 5942px. 253077 pixels (ratio 0.04 of all image pixels) are different.
Snapshot: edito-page-final.png
Call log:
- Expect "toHaveScreenshot(edito-page-final.png)" with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- Expected an image 1280px by 5962px, received 1280px by 5942px. 253077 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- Expected an image 1280px by 5962px, received 1280px by 5942px. 253077 pixels (ratio 0.04 of all image pixels) are different.
396 |
397 | // Take the final screenshot for visual regression testing
> 398 | await expect(page).toHaveScreenshot('edito-page-final.png', {
| ^
399 | mask: [page.getByTestId('user-avatar')],
400 | fullPage: true,
401 | maxDiffPixelRatio: 0.01, // Allow 1% pixel difference for minor rendering variations
at /__w/cdata/cdata/tests/edito/pages-editor.spec.ts:398:22
|
|
quality:
components/Datasets/AdminUpdateDatasetPage.vue#L3
Variable 'dataset' is already declared in the upper scope
|
|
quality:
components/Datasets/AdminDatasetsPage.vue#L59
Variable 'pageData' is already declared in the upper scope
|
|
quality:
components/Datasets/AdminDatasetResourcesPage.vue#L77
Variable 'resourcesPage' is already declared in the upper scope
|
|
quality:
components/Dataservices/SearchPage.vue#L104
Variable 'searchResults' is already declared in the upper scope
|
|
quality:
components/Dataservices/AdminUpdateDataservicePage.vue#L3
Variable 'dataservice' is already declared in the upper scope
|
|
quality:
components/Dataservices/AdminDataservicesPage.vue#L44
Variable 'pageData' is already declared in the upper scope
|
|
quality:
components/CommunityResources/AdminCommunityResourcesPage.vue#L18
Variable 'pageData' is already declared in the upper scope
|
|
quality:
components/Brand/BrandCard.vue#L49
'v-html' directive can lead to XSS attack
|
|
quality:
components/Brand/BrandBanner.vue#L15
'v-html' directive can lead to XSS attack
|
|
quality:
components/Brand/BrandBanner.vue#L10
'v-html' directive can lead to XSS attack
|
|
🎭 Playwright Run Summary
3 failed
[chromium] › tests/edito/pages-editor.spec.ts:26:1 › can edit edito page with all bloc types ───
[firefox] › tests/edito/pages-editor.spec.ts:26:1 › can edit edito page with all bloc types ────
[firefox] › tests/posts/kind.spec.ts:23:3 › Post kind filter › page posts should not appear in public news list, admin should show type and filter
160 passed (9.4m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
build-output
Expired
|
59.9 MB |
sha256:ead8e8dbee5328309a79f429a26e0fb0da02851d7c9b575e133622b923b384fb
|
|
|
playwright-report
Expired
|
40.1 MB |
sha256:8532b488192223a806de6b2a3b829c0b23e9fabe1b4b1bee61441cb75e76bbb7
|
|
|
playwright-screenshots
Expired
|
1.24 MB |
sha256:07347272b0f6cff462598bb2558361034539f94f81c914d828091e6296845c8f
|
|