351 lines
28 KiB
Plaintext
351 lines
28 KiB
Plaintext
[WebServer] Using launch settings from ..\JobTrackerApi\Properties\launchSettings.json...
|
||
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[30200]
|
||
[WebServer] An operation of type 'SqlOperation' will be attempted while a rebuild of table 'JobApplications' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
|
||
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[20410]
|
||
[WebServer] The migration operation 'PRAGMA foreign_keys = 0;
|
||
[WebServer] ' from migration 'AddJobEntityAndProspectStages' cannot be executed in a transaction. If the app is terminated or an unrecoverable error occurs while this operation is being executed then the migration will be left in a partially applied state and would need to be reverted manually before it can be applied again. Create a separate migration that contains just this operation.
|
||
[WebServer] warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
|
||
[WebServer] No XML encryptor configured. Key {cbfe3c75-02c3-4805-913d-cb802537967c} may be persisted to storage in unencrypted form.
|
||
[WebServer] (node:24112) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
|
||
[WebServer] (node:9568) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
|
||
|
||
Running 4 tests using 1 worker
|
||
|
||
(node:13532) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||
x 1 [chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] light/en table and cards preserve behavior at both densities (16.9s)
|
||
(node:16656) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||
x 2 [chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] light/nb table and cards preserve behavior at both densities (17.2s)
|
||
(node:34188) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||
x 3 [chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] dark/en table and cards preserve behavior at both densities (8.6s)
|
||
(node:2484) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||
x 4 [chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] dark/nb table and cards preserve behavior at both densities (6.5s)
|
||
|
||
|
||
1) [chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] light/en table and cards preserve behavior at both densities
|
||
|
||
Error: expect(locator).toBeVisible() failed
|
||
|
||
Locator: getByRole('menuitem', { name: 'Offer', exact: true })
|
||
Expected: visible
|
||
Timeout: 5000ms
|
||
Error: element(s) not found
|
||
|
||
Call log:
|
||
- Expect "toBeVisible" with timeout 5000ms
|
||
- waiting for getByRole('menuitem', { name: 'Offer', exact: true })
|
||
|
||
|
||
141 | await capture(page, info, `jobs-top-phone-${suffix}`);
|
||
142 | await first.getByRole("button", { name: new RegExp(`^${t.jobTableActions}:`) }).click();
|
||
> 143 | await expect(page.getByRole("menuitem", { name: t.statusOffer, exact: true })).toBeVisible();
|
||
| ^
|
||
144 | await page.keyboard.press("Escape");
|
||
145 | }
|
||
146 | // Geometric containment alone misses a title squeezed into one-letter lines.
|
||
at C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\e2e\table-density.spec.ts:143:90
|
||
|
||
attachment #1: jobs-top-desktop-light-en (image/png) ───────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63938--behavior-at-both-densities-chromium\attachments\jobs-top-desktop-light-en-f1416f5079e9dae7363d607aa6388e58f032e248.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #2: desktop-comfortable-light-en (image/png) ────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63938--behavior-at-both-densities-chromium\attachments\desktop-comfortable-light-en-660a3212eb13e3b829a092f58183ba46d2795276.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #4: desktop-compact-light-en (image/png) ────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63938--behavior-at-both-densities-chromium\attachments\desktop-compact-light-en-97b5a9c08e474c6eaaba7612f2ae544d9d08eafd.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #7: jobs-top-phone-light-en (image/png) ─────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63938--behavior-at-both-densities-chromium\attachments\jobs-top-phone-light-en-3de02167367b95b02cc2ad39b43c4e88c8f119c7.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #8: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63938--behavior-at-both-densities-chromium\test-failed-1.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
Error Context: test-results\table-density--PRES-J05-J0-63938--behavior-at-both-densities-chromium\error-context.md
|
||
|
||
attachment #10: trace (application/zip) ────────────────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63938--behavior-at-both-densities-chromium\trace.zip
|
||
Usage:
|
||
|
||
npx playwright show-trace test-results\table-density--PRES-J05-J0-63938--behavior-at-both-densities-chromium\trace.zip
|
||
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
2) [chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] light/nb table and cards preserve behavior at both densities
|
||
|
||
Error: expect(locator).toBeVisible() failed
|
||
|
||
Locator: getByRole('menuitem', { name: 'Tilbud', exact: true })
|
||
Expected: visible
|
||
Timeout: 5000ms
|
||
Error: element(s) not found
|
||
|
||
Call log:
|
||
- Expect "toBeVisible" with timeout 5000ms
|
||
- waiting for getByRole('menuitem', { name: 'Tilbud', exact: true })
|
||
|
||
|
||
141 | await capture(page, info, `jobs-top-phone-${suffix}`);
|
||
142 | await first.getByRole("button", { name: new RegExp(`^${t.jobTableActions}:`) }).click();
|
||
> 143 | await expect(page.getByRole("menuitem", { name: t.statusOffer, exact: true })).toBeVisible();
|
||
| ^
|
||
144 | await page.keyboard.press("Escape");
|
||
145 | }
|
||
146 | // Geometric containment alone misses a title squeezed into one-letter lines.
|
||
at C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\e2e\table-density.spec.ts:143:90
|
||
|
||
attachment #1: jobs-top-desktop-light-nb (image/png) ───────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63307--behavior-at-both-densities-chromium\attachments\jobs-top-desktop-light-nb-91cd77b8515e2fb9e6d33a692e137d751b850944.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #2: desktop-comfortable-light-nb (image/png) ────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63307--behavior-at-both-densities-chromium\attachments\desktop-comfortable-light-nb-7ac29ea19432eb0c09ddd49515a153b25212a5b3.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #4: desktop-compact-light-nb (image/png) ────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63307--behavior-at-both-densities-chromium\attachments\desktop-compact-light-nb-dcc8a8f6c161069e74eaf09284a08f927ecfb487.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #7: jobs-top-phone-light-nb (image/png) ─────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63307--behavior-at-both-densities-chromium\attachments\jobs-top-phone-light-nb-9c2d93ec71b3df07b88d6e4f2fa11d5bd70fce4b.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #8: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63307--behavior-at-both-densities-chromium\test-failed-1.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
Error Context: test-results\table-density--PRES-J05-J0-63307--behavior-at-both-densities-chromium\error-context.md
|
||
|
||
attachment #10: trace (application/zip) ────────────────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-63307--behavior-at-both-densities-chromium\trace.zip
|
||
Usage:
|
||
|
||
npx playwright show-trace test-results\table-density--PRES-J05-J0-63307--behavior-at-both-densities-chromium\trace.zip
|
||
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
3) [chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] dark/en table and cards preserve behavior at both densities
|
||
|
||
Error: expect(received).toEqual(expected) // deep equality
|
||
|
||
- Expected - 1
|
||
+ Received + 64
|
||
|
||
- Array []
|
||
+ Array [
|
||
+ Object {
|
||
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
|
||
+ "help": "Elements must meet minimum color contrast ratio thresholds",
|
||
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.13/color-contrast?application=playwright",
|
||
+ "id": "color-contrast",
|
||
+ "impact": "serious",
|
||
+ "nodes": Array [
|
||
+ Object {
|
||
+ "all": Array [],
|
||
+ "any": Array [
|
||
+ Object {
|
||
+ "data": Object {
|
||
+ "bgColor": "#443b53",
|
||
+ "contrastRatio": 4.4,
|
||
+ "expectedContrastRatio": "4.5:1",
|
||
+ "fgColor": "#9e9eff",
|
||
+ "fontSize": "10.5pt (14px)",
|
||
+ "fontWeight": "normal",
|
||
+ "messageKey": null,
|
||
+ },
|
||
+ "id": "color-contrast",
|
||
+ "impact": "serious",
|
||
+ "message": "Element has insufficient color contrast of 4.4 (foreground color: #9e9eff, background color: #443b53, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
|
||
+ "relatedNodes": Array [
|
||
+ Object {
|
||
+ "html": "<tr class=\"MuiTableRow-root Mui-selected MuiTableRow-hover css-11gbcel-MuiTableRow-root\" data-job-row-id=\"37\" tabindex=\"0\" aria-label=\"Open Density 00 — Seniorrådgiver for plattformutvikling og digitale fellestjenester at Nordlys æøå AS\">",
|
||
+ "target": Array [
|
||
+ ".css-11gbcel-MuiTableRow-root",
|
||
+ ],
|
||
+ },
|
||
+ Object {
|
||
+ "html": "<div class=\"MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 css-1j6eq80-MuiPaper-root\" data-content-density=\"comfortable\" style=\"--Paper-shadow: var(--shadows-0); --Paper-overlay: var(--overlays-0);\">",
|
||
+ "target": Array [
|
||
+ ".css-1j6eq80-MuiPaper-root",
|
||
+ ],
|
||
+ },
|
||
+ ],
|
||
+ },
|
||
+ ],
|
||
+ "failureSummary": "Fix any of the following:
|
||
+ Element has insufficient color contrast of 4.4 (foreground color: #9e9eff, background color: #443b53, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
|
||
+ "html": "<a href=\"https://example.test/listing\" target=\"_blank\" rel=\"noreferrer\">Link</a>",
|
||
+ "impact": "serious",
|
||
+ "none": Array [],
|
||
+ "target": Array [
|
||
+ ".css-11gbcel-MuiTableRow-root > .css-1ingqjh-MuiTableCell-root:nth-child(9) > a[href$=\"listing\"][target=\"_blank\"][rel=\"noreferrer\"]",
|
||
+ ],
|
||
+ },
|
||
+ ],
|
||
+ "tags": Array [
|
||
+ "cat.color",
|
||
+ "wcag2aa",
|
||
+ "wcag143",
|
||
+ "TTv5",
|
||
+ "TT13.c",
|
||
+ "EN-301-549",
|
||
+ "EN-9.1.4.3",
|
||
+ "ACT",
|
||
+ "RGAAv4",
|
||
+ "RGAA-3.2.1",
|
||
+ ],
|
||
+ },
|
||
+ ]
|
||
|
||
52 | const result = await new AxeBuilder({ page }).withTags(["wcag2a", "wcag2aa", "wcag21a", "wcag21aa"]).analyze();
|
||
53 | await info.attach(`${name}-axe`, { body: JSON.stringify({ violations: result.violations, incomplete: result.incomplete }), contentType: "application/json" });
|
||
> 54 | expect(result.violations).toEqual([]);
|
||
| ^
|
||
55 | }
|
||
56 | async function keyboardFocus(page: Page, target: Locator) {
|
||
57 | await target.focus();
|
||
at scan (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\e2e\table-density.spec.ts:54:29)
|
||
at C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\e2e\table-density.spec.ts:125:7
|
||
|
||
attachment #1: jobs-top-desktop-dark-en (image/png) ────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-96d9c--behavior-at-both-densities-chromium\attachments\jobs-top-desktop-dark-en-9fc9d48bee9b6d70fd4bf7af72615f91740efea8.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #2: desktop-comfortable-dark-en (image/png) ─────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-96d9c--behavior-at-both-densities-chromium\attachments\desktop-comfortable-dark-en-5bc72635596b9a7e3fa3211185a0fbfebaa6490f.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #4: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-96d9c--behavior-at-both-densities-chromium\test-failed-1.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
Error Context: test-results\table-density--PRES-J05-J0-96d9c--behavior-at-both-densities-chromium\error-context.md
|
||
|
||
attachment #6: trace (application/zip) ─────────────────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-96d9c--behavior-at-both-densities-chromium\trace.zip
|
||
Usage:
|
||
|
||
npx playwright show-trace test-results\table-density--PRES-J05-J0-96d9c--behavior-at-both-densities-chromium\trace.zip
|
||
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
4) [chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] dark/nb table and cards preserve behavior at both densities
|
||
|
||
Error: expect(received).toEqual(expected) // deep equality
|
||
|
||
- Expected - 1
|
||
+ Received + 64
|
||
|
||
- Array []
|
||
+ Array [
|
||
+ Object {
|
||
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
|
||
+ "help": "Elements must meet minimum color contrast ratio thresholds",
|
||
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.13/color-contrast?application=playwright",
|
||
+ "id": "color-contrast",
|
||
+ "impact": "serious",
|
||
+ "nodes": Array [
|
||
+ Object {
|
||
+ "all": Array [],
|
||
+ "any": Array [
|
||
+ Object {
|
||
+ "data": Object {
|
||
+ "bgColor": "#443b53",
|
||
+ "contrastRatio": 4.4,
|
||
+ "expectedContrastRatio": "4.5:1",
|
||
+ "fgColor": "#9e9eff",
|
||
+ "fontSize": "10.5pt (14px)",
|
||
+ "fontWeight": "normal",
|
||
+ "messageKey": null,
|
||
+ },
|
||
+ "id": "color-contrast",
|
||
+ "impact": "serious",
|
||
+ "message": "Element has insufficient color contrast of 4.4 (foreground color: #9e9eff, background color: #443b53, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
|
||
+ "relatedNodes": Array [
|
||
+ Object {
|
||
+ "html": "<tr class=\"MuiTableRow-root Mui-selected MuiTableRow-hover css-11gbcel-MuiTableRow-root\" data-job-row-id=\"55\" tabindex=\"0\" aria-label=\"Åpne Density 00 — Seniorrådgiver for plattformutvikling og digitale fellestjenester hos Nordlys æøå AS\">",
|
||
+ "target": Array [
|
||
+ ".css-11gbcel-MuiTableRow-root",
|
||
+ ],
|
||
+ },
|
||
+ Object {
|
||
+ "html": "<div class=\"MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 css-1j6eq80-MuiPaper-root\" data-content-density=\"comfortable\" style=\"--Paper-shadow: var(--shadows-0); --Paper-overlay: var(--overlays-0);\">",
|
||
+ "target": Array [
|
||
+ ".css-1j6eq80-MuiPaper-root",
|
||
+ ],
|
||
+ },
|
||
+ ],
|
||
+ },
|
||
+ ],
|
||
+ "failureSummary": "Fix any of the following:
|
||
+ Element has insufficient color contrast of 4.4 (foreground color: #9e9eff, background color: #443b53, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
|
||
+ "html": "<a href=\"https://example.test/listing\" target=\"_blank\" rel=\"noreferrer\">Lenke</a>",
|
||
+ "impact": "serious",
|
||
+ "none": Array [],
|
||
+ "target": Array [
|
||
+ ".css-11gbcel-MuiTableRow-root > .css-1ingqjh-MuiTableCell-root:nth-child(9) > a[href$=\"listing\"][target=\"_blank\"][rel=\"noreferrer\"]",
|
||
+ ],
|
||
+ },
|
||
+ ],
|
||
+ "tags": Array [
|
||
+ "cat.color",
|
||
+ "wcag2aa",
|
||
+ "wcag143",
|
||
+ "TTv5",
|
||
+ "TT13.c",
|
||
+ "EN-301-549",
|
||
+ "EN-9.1.4.3",
|
||
+ "ACT",
|
||
+ "RGAAv4",
|
||
+ "RGAA-3.2.1",
|
||
+ ],
|
||
+ },
|
||
+ ]
|
||
|
||
52 | const result = await new AxeBuilder({ page }).withTags(["wcag2a", "wcag2aa", "wcag21a", "wcag21aa"]).analyze();
|
||
53 | await info.attach(`${name}-axe`, { body: JSON.stringify({ violations: result.violations, incomplete: result.incomplete }), contentType: "application/json" });
|
||
> 54 | expect(result.violations).toEqual([]);
|
||
| ^
|
||
55 | }
|
||
56 | async function keyboardFocus(page: Page, target: Locator) {
|
||
57 | await target.focus();
|
||
at scan (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\e2e\table-density.spec.ts:54:29)
|
||
at C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\e2e\table-density.spec.ts:125:7
|
||
|
||
attachment #1: jobs-top-desktop-dark-nb (image/png) ────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-e66f3--behavior-at-both-densities-chromium\attachments\jobs-top-desktop-dark-nb-de0939d685d6e747b8d560d1b6de29d02e5730c4.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #2: desktop-comfortable-dark-nb (image/png) ─────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-e66f3--behavior-at-both-densities-chromium\attachments\desktop-comfortable-dark-nb-67fffcde180e1e34d26480532314959bb069d9e5.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
attachment #4: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-e66f3--behavior-at-both-densities-chromium\test-failed-1.png
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
Error Context: test-results\table-density--PRES-J05-J0-e66f3--behavior-at-both-densities-chromium\error-context.md
|
||
|
||
attachment #6: trace (application/zip) ─────────────────────────────────────────────────────────
|
||
test-results\table-density--PRES-J05-J0-e66f3--behavior-at-both-densities-chromium\trace.zip
|
||
Usage:
|
||
|
||
npx playwright show-trace test-results\table-density--PRES-J05-J0-e66f3--behavior-at-both-densities-chromium\trace.zip
|
||
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
4 failed
|
||
[chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] light/en table and cards preserve behavior at both densities
|
||
[chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] light/nb table and cards preserve behavior at both densities
|
||
[chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] dark/en table and cards preserve behavior at both densities
|
||
[chromium] › e2e\table-density.spec.ts:73:3 › [PRES-J05 J06 W01 W02 S03 E08 E09] dark/nb table and cards preserve behavior at both densities
|