Skip to content

Dependencies 07/2024 #110

Dependencies 07/2024

Dependencies 07/2024 #110

Triggered via pull request July 24, 2024 15:17
Status Failure
Total duration 6m 25s
Artifacts 5

tests.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

42 errors and 5 notices
[Mobile Chrome] › examList.spec.ts:117:7 › FileList looks right › FileListing works: src/tests/examList.spec.ts#L127
1) [Mobile Chrome] › examList.spec.ts:117:7 › FileList looks right › FileListing works ─────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to testing -0- - Tärpistö - TKO-äly ry" Received string: "" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" 125 | await expect(heading).toBeVisible() 126 | > 127 | await expect(page).toHaveTitle( | ^ 128 | `Introduction to testing -${workerIndex}- - Tärpistö - TKO-äly ry` 129 | ) 130 | }) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/examList.spec.ts:127:24
[Mobile Chrome] › examList.spec.ts:117:7 › FileList looks right › FileListing works: src/tests/examList.spec.ts#L127
1) [Mobile Chrome] › examList.spec.ts:117:7 › FileList looks right › FileListing works ─────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to testing -1- - Tärpistö - TKO-äly ry" Received string: "" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" 125 | await expect(heading).toBeVisible() 126 | > 127 | await expect(page).toHaveTitle( | ^ 128 | `Introduction to testing -${workerIndex}- - Tärpistö - TKO-äly ry` 129 | ) 130 | }) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/examList.spec.ts:127:24
[Mobile Chrome] › examList.spec.ts:117:7 › FileList looks right › FileListing works: src/tests/examList.spec.ts#L127
1) [Mobile Chrome] › examList.spec.ts:117:7 › FileList looks right › FileListing works ─────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to testing -2- - Tärpistö - TKO-äly ry" Received string: "" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" 125 | await expect(heading).toBeVisible() 126 | > 127 | await expect(page).toHaveTitle( | ^ 128 | `Introduction to testing -${workerIndex}- - Tärpistö - TKO-äly ry` 129 | ) 130 | }) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/examList.spec.ts:127:24
test (5, 5)
Process completed with exit code 1.
[Desktop Chromium] › examList.spec.ts:117:7 › FileList looks right › FileListing works: src/tests/examList.spec.ts#L127
1) [Desktop Chromium] › examList.spec.ts:117:7 › FileList looks right › FileListing works ──────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to testing -0- - Tärpistö - TKO-äly ry" Received string: "" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" 125 | await expect(heading).toBeVisible() 126 | > 127 | await expect(page).toHaveTitle( | ^ 128 | `Introduction to testing -${workerIndex}- - Tärpistö - TKO-äly ry` 129 | ) 130 | }) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/examList.spec.ts:127:24
[Desktop Chromium] › examList.spec.ts:117:7 › FileList looks right › FileListing works: src/tests/examList.spec.ts#L127
1) [Desktop Chromium] › examList.spec.ts:117:7 › FileList looks right › FileListing works ──────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to testing -1- - Tärpistö - TKO-äly ry" Received string: "" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" 125 | await expect(heading).toBeVisible() 126 | > 127 | await expect(page).toHaveTitle( | ^ 128 | `Introduction to testing -${workerIndex}- - Tärpistö - TKO-äly ry` 129 | ) 130 | }) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/examList.spec.ts:127:24
[Desktop Chromium] › examList.spec.ts:117:7 › FileList looks right › FileListing works: src/tests/examList.spec.ts#L127
1) [Desktop Chromium] › examList.spec.ts:117:7 › FileList looks right › FileListing works ──────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to testing -2- - Tärpistö - TKO-äly ry" Received string: "" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "" 125 | await expect(heading).toBeVisible() 126 | > 127 | await expect(page).toHaveTitle( | ^ 128 | `Introduction to testing -${workerIndex}- - Tärpistö - TKO-äly ry` 129 | ) 130 | }) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/examList.spec.ts:127:24
[Desktop Firefox] › accessibility.spec.ts:215:7 › accessibility tests › fileList with files: src/tests/accessibility.spec.ts#L238
2) [Desktop Firefox] › accessibility.spec.ts:215:7 › accessibility tests › fileList with files ─── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 236 | } 237 | }) > 238 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 239 | }) 240 | 241 | test('empty fileList', async ({ page, browserName, isMobile, courseList }, { at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:238:49
[Desktop Firefox] › accessibility.spec.ts:241:7 › accessibility tests › empty fileList: src/tests/accessibility.spec.ts#L262
3) [Desktop Firefox] › accessibility.spec.ts:241:7 › accessibility tests › empty fileList ──────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 260 | } 261 | }) > 262 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 263 | }) 264 | 265 | test('upload file', async ({ at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:262:49
[Desktop Firefox] › accessibility.spec.ts:327:7 › accessibility tests › upload file modal: src/tests/accessibility.spec.ts#L349
4) [Desktop Firefox] › accessibility.spec.ts:327:7 › accessibility tests › upload file modal ───── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 347 | } 348 | }) > 349 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 350 | }) 351 | 352 | test('manage file modal', async ({ at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:349:49
[Desktop Firefox] › accessibility.spec.ts:352:7 › accessibility tests › manage file modal: src/tests/accessibility.spec.ts#L374
5) [Desktop Firefox] › accessibility.spec.ts:352:7 › accessibility tests › manage file modal ───── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 372 | } 373 | }) > 374 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 375 | }) 376 | 377 | test('not found', async ({ page, browserName, isMobile }, { title }) => { at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:374:49
test (2, 5)
Process completed with exit code 1.
[Desktop Chromium] › accessibility.spec.ts:215:7 › accessibility tests › fileList with files: src/tests/accessibility.spec.ts#L238
1) [Desktop Chromium] › accessibility.spec.ts:215:7 › accessibility tests › fileList with files ── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 236 | } 237 | }) > 238 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 239 | }) 240 | 241 | test('empty fileList', async ({ page, browserName, isMobile, courseList }, { at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:238:49
[Desktop Chromium] › accessibility.spec.ts:241:7 › accessibility tests › empty fileList: src/tests/accessibility.spec.ts#L262
2) [Desktop Chromium] › accessibility.spec.ts:241:7 › accessibility tests › empty fileList ─────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 260 | } 261 | }) > 262 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 263 | }) 264 | 265 | test('upload file', async ({ at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:262:49
[Desktop Chromium] › accessibility.spec.ts:327:7 › accessibility tests › upload file modal: src/tests/accessibility.spec.ts#L349
3) [Desktop Chromium] › accessibility.spec.ts:327:7 › accessibility tests › upload file modal ──── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 347 | } 348 | }) > 349 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 350 | }) 351 | 352 | test('manage file modal', async ({ at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:349:49
[Desktop Chromium] › accessibility.spec.ts:352:7 › accessibility tests › manage file modal: src/tests/accessibility.spec.ts#L374
4) [Desktop Chromium] › accessibility.spec.ts:352:7 › accessibility tests › manage file modal ──── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 372 | } 373 | }) > 374 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 375 | }) 376 | 377 | test('not found', async ({ page, browserName, isMobile }, { title }) => { at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:374:49
[Desktop Chromium] › accessibility.spec.ts:377:7 › accessibility tests › not found: src/tests/accessibility.spec.ts#L393
5) [Desktop Chromium] › accessibility.spec.ts:377:7 › accessibility tests › not found ──────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 109 - Array [] + Array [ + Object { + "description": "Ensures every HTML document has a lang attribute", + "help": "<html> element must have a lang attribute", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/html-has-lang?application=playwright", + "id": "html-has-lang", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": Object { + "messageKey": "noLang", + }, + "id": "has-lang", + "impact": "serious", + "message": "The <html> element does not have a lang attribute", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + The <html> element does not have a lang attribute", + "html": "<html id=\"__next_error__\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "#__next_error__", + ], + }, + ], + "tags": Array [ + "cat.language", + "wcag2a", + "wcag311", + "TTv5", + "TT11.a", + "EN-301-549", + "EN-9.3.1.1", + "ACT", + ], + }, + Object { + "description": "Ensures the document has a main landmark", + "help": "Document should have one main landmark", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/landmark-one-main?application=playwright", + "id": "landmark-one-main", + "impact": "moderate", + "nodes": Array [ + Object { + "all": Array [ + Object { + "data": null, + "id": "page-has-main", + "impact": "moderate", + "message": "Document does not have a main landmark", + "relatedNodes": Array [], + }, + ], + "any": Array [], + "failureSummary": "Fix all of the following: + Document does not have a main landmark", + "html": "<html id=\"__next_error__\">", + "impact": "moderate", + "none": Array [], + "target": Array [ + "#__next_error__", + ], + }, + ], + "tags": Array [ + "cat.semantics", + "best-practice", + ], + }, + Object { + "description": "Ensure that the page, or at least one of its frames contains a level-one heading", + "help": "Page should contain a level-one heading", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/page-has-heading-one?application=playwright", + "id": "page-has-heading-one", + "impact": "moderate", + "nodes": Array [ + Object { + "all": Array [ + Object { + "data": null, + "id": "page-has-heading-one", + "impact": "moderate", + "message": "Page must have a level-one heading", + "relatedNodes": Array [], + }, + ], + "any": Array [], + "failureSummary": "Fix all of the following: + Page must have a level-one heading", + "html": "<html id=\"__next_error__\">", + "impact": "moderate", + "none": Array [], + "target": Array [ + "#__next_error__", + ], + }, + ], + "tags": Array [ + "cat.semantics", + "best-practice", + ], + }, + ] 391 | } 392 | }) > 393 | expect(accessibilityScanRes
[Desktop Chromium] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works: src/tests/courseList.spec.ts#L311
6) [Desktop Chromium] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to course creation b9f6170718c05c93500a-73a5753a4ac8110e1302 - Tärpistö - TKO-äly ry" Received string: "Create new course - Tärpistö - TKO-äly ry" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" 309 | await page.waitForURL(/introduction-to-course-creation/) 310 | > 311 | await expect(page).toHaveTitle(`${name} - Tärpistö - TKO-äly ry`) | ^ 312 | 313 | // Disabled as flash messages are not shown yet 314 | // const success = page.getByText( at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:311:24
[Desktop Chromium] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works: src/tests/courseList.spec.ts#L311
6) [Desktop Chromium] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to course creation b9f6170718c05c93500a-73a5753a4ac8110e1302 - Tärpistö - TKO-äly ry" Received string: "Create new course - Tärpistö - TKO-äly ry" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" 309 | await page.waitForURL(/introduction-to-course-creation/) 310 | > 311 | await expect(page).toHaveTitle(`${name} - Tärpistö - TKO-äly ry`) | ^ 312 | 313 | // Disabled as flash messages are not shown yet 314 | // const success = page.getByText( at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:311:24
[Desktop Chromium] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works: src/tests/courseList.spec.ts#L311
6) [Desktop Chromium] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to course creation b9f6170718c05c93500a-73a5753a4ac8110e1302 - Tärpistö - TKO-äly ry" Received string: "Create new course - Tärpistö - TKO-äly ry" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" 309 | await page.waitForURL(/introduction-to-course-creation/) 310 | > 311 | await expect(page).toHaveTitle(`${name} - Tärpistö - TKO-äly ry`) | ^ 312 | 313 | // Disabled as flash messages are not shown yet 314 | // const success = page.getByText( at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:311:24
[Desktop Chromium] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works: src/tests/courseList.spec.ts#L354
7) [Desktop Chromium] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByTestId('modal') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByTestId('modal') - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" 352 | await expect(row).toBeVisible() 353 | > 354 | await expect(modal).not.toBeVisible() | ^ 355 | 356 | // Flash messages not implemented yet 357 | // const success = page.getByText(`Course has been renamed from X to Y.`) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:354:29
[Desktop Chromium] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works: src/tests/courseList.spec.ts#L354
7) [Desktop Chromium] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByTestId('modal') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByTestId('modal') - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" 352 | await expect(row).toBeVisible() 353 | > 354 | await expect(modal).not.toBeVisible() | ^ 355 | 356 | // Flash messages not implemented yet 357 | // const success = page.getByText(`Course has been renamed from X to Y.`) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:354:29
[Mobile Chrome] › accessibility.spec.ts:215:7 › accessibility tests › fileList with files: src/tests/accessibility.spec.ts#L238
1) [Mobile Chrome] › accessibility.spec.ts:215:7 › accessibility tests › fileList with files ───── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 236 | } 237 | }) > 238 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 239 | }) 240 | 241 | test('empty fileList', async ({ page, browserName, isMobile, courseList }, { at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:238:49
[Mobile Chrome] › accessibility.spec.ts:241:7 › accessibility tests › empty fileList: src/tests/accessibility.spec.ts#L262
2) [Mobile Chrome] › accessibility.spec.ts:241:7 › accessibility tests › empty fileList ────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 260 | } 261 | }) > 262 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 263 | }) 264 | 265 | test('upload file', async ({ at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:262:49
[Mobile Chrome] › accessibility.spec.ts:327:7 › accessibility tests › upload file modal: src/tests/accessibility.spec.ts#L349
3) [Mobile Chrome] › accessibility.spec.ts:327:7 › accessibility tests › upload file modal ─────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 347 | } 348 | }) > 349 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 350 | }) 351 | 352 | test('manage file modal', async ({ at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:349:49
[Mobile Chrome] › accessibility.spec.ts:352:7 › accessibility tests › manage file modal: src/tests/accessibility.spec.ts#L374
4) [Mobile Chrome] › accessibility.spec.ts:352:7 › accessibility tests › manage file modal ─────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + Object { + "description": "Ensures each HTML document contains a non-empty <title> element", + "help": "Documents must have <title> element to aid in navigation", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/document-title?application=playwright", + "id": "document-title", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "doc-has-title", + "impact": "serious", + "message": "Document does not have a non-empty <title> element", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Document does not have a non-empty <title> element", + "html": "<html lang=\"en\" class=\"__variable_2ef3ef __variable_bc8ab8 bg-gray-800\" style=\"\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "html", + ], + }, + ], + "tags": Array [ + "cat.text-alternatives", + "wcag2a", + "wcag242", + "TTv5", + "TT12.a", + "EN-301-549", + "EN-9.2.4.2", + "ACT", + ], + }, + ] 372 | } 373 | }) > 374 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 375 | }) 376 | 377 | test('not found', async ({ page, browserName, isMobile }, { title }) => { at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/accessibility.spec.ts:374:49
[Mobile Chrome] › accessibility.spec.ts:377:7 › accessibility tests › not found: src/tests/accessibility.spec.ts#L393
5) [Mobile Chrome] › accessibility.spec.ts:377:7 › accessibility tests › not found ─────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 109 - Array [] + Array [ + Object { + "description": "Ensures every HTML document has a lang attribute", + "help": "<html> element must have a lang attribute", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/html-has-lang?application=playwright", + "id": "html-has-lang", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": Object { + "messageKey": "noLang", + }, + "id": "has-lang", + "impact": "serious", + "message": "The <html> element does not have a lang attribute", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + The <html> element does not have a lang attribute", + "html": "<html id=\"__next_error__\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "#__next_error__", + ], + }, + ], + "tags": Array [ + "cat.language", + "wcag2a", + "wcag311", + "TTv5", + "TT11.a", + "EN-301-549", + "EN-9.3.1.1", + "ACT", + ], + }, + Object { + "description": "Ensures the document has a main landmark", + "help": "Document should have one main landmark", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/landmark-one-main?application=playwright", + "id": "landmark-one-main", + "impact": "moderate", + "nodes": Array [ + Object { + "all": Array [ + Object { + "data": null, + "id": "page-has-main", + "impact": "moderate", + "message": "Document does not have a main landmark", + "relatedNodes": Array [], + }, + ], + "any": Array [], + "failureSummary": "Fix all of the following: + Document does not have a main landmark", + "html": "<html id=\"__next_error__\">", + "impact": "moderate", + "none": Array [], + "target": Array [ + "#__next_error__", + ], + }, + ], + "tags": Array [ + "cat.semantics", + "best-practice", + ], + }, + Object { + "description": "Ensure that the page, or at least one of its frames contains a level-one heading", + "help": "Page should contain a level-one heading", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/page-has-heading-one?application=playwright", + "id": "page-has-heading-one", + "impact": "moderate", + "nodes": Array [ + Object { + "all": Array [ + Object { + "data": null, + "id": "page-has-heading-one", + "impact": "moderate", + "message": "Page must have a level-one heading", + "relatedNodes": Array [], + }, + ], + "any": Array [], + "failureSummary": "Fix all of the following: + Page must have a level-one heading", + "html": "<html id=\"__next_error__\">", + "impact": "moderate", + "none": Array [], + "target": Array [ + "#__next_error__", + ], + }, + ], + "tags": Array [ + "cat.semantics", + "best-practice", + ], + }, + ] 391 | } 392 | }) > 393 | expect(accessibilityScanRes
[Mobile Chrome] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works: src/tests/courseList.spec.ts#L311
6) [Mobile Chrome] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to course creation b9f6170718c05c93500a-bedd6a6c112782a9804d - Tärpistö - TKO-äly ry" Received string: "Create new course - Tärpistö - TKO-äly ry" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" 309 | await page.waitForURL(/introduction-to-course-creation/) 310 | > 311 | await expect(page).toHaveTitle(`${name} - Tärpistö - TKO-äly ry`) | ^ 312 | 313 | // Disabled as flash messages are not shown yet 314 | // const success = page.getByText( at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:311:24
[Mobile Chrome] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works: src/tests/courseList.spec.ts#L311
6) [Mobile Chrome] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to course creation b9f6170718c05c93500a-bedd6a6c112782a9804d - Tärpistö - TKO-äly ry" Received string: "Create new course - Tärpistö - TKO-äly ry" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" 309 | await page.waitForURL(/introduction-to-course-creation/) 310 | > 311 | await expect(page).toHaveTitle(`${name} - Tärpistö - TKO-äly ry`) | ^ 312 | 313 | // Disabled as flash messages are not shown yet 314 | // const success = page.getByText( at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:311:24
[Mobile Chrome] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works: src/tests/courseList.spec.ts#L311
6) [Mobile Chrome] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to course creation b9f6170718c05c93500a-bedd6a6c112782a9804d - Tärpistö - TKO-äly ry" Received string: "Create new course - Tärpistö - TKO-äly ry" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" 309 | await page.waitForURL(/introduction-to-course-creation/) 310 | > 311 | await expect(page).toHaveTitle(`${name} - Tärpistö - TKO-äly ry`) | ^ 312 | 313 | // Disabled as flash messages are not shown yet 314 | // const success = page.getByText( at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:311:24
[Mobile Chrome] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works: src/tests/courseList.spec.ts#L354
7) [Mobile Chrome] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByTestId('modal') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByTestId('modal') - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" 352 | await expect(row).toBeVisible() 353 | > 354 | await expect(modal).not.toBeVisible() | ^ 355 | 356 | // Flash messages not implemented yet 357 | // const success = page.getByText(`Course has been renamed from X to Y.`) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:354:29
[Mobile Chrome] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works: src/tests/courseList.spec.ts#L354
7) [Mobile Chrome] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByTestId('modal') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByTestId('modal') - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" 352 | await expect(row).toBeVisible() 353 | > 354 | await expect(modal).not.toBeVisible() | ^ 355 | 356 | // Flash messages not implemented yet 357 | // const success = page.getByText(`Course has been renamed from X to Y.`) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:354:29
[Desktop Firefox] › accessibility.spec.ts:377:7 › accessibility tests › not found: src/tests/accessibility.spec.ts#L393
1) [Desktop Firefox] › accessibility.spec.ts:377:7 › accessibility tests › not found ───────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 109 - Array [] + Array [ + Object { + "description": "Ensures every HTML document has a lang attribute", + "help": "<html> element must have a lang attribute", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/html-has-lang?application=playwright", + "id": "html-has-lang", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": Object { + "messageKey": "noLang", + }, + "id": "has-lang", + "impact": "serious", + "message": "The <html> element does not have a lang attribute", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + The <html> element does not have a lang attribute", + "html": "<html id=\"__next_error__\">", + "impact": "serious", + "none": Array [], + "target": Array [ + "#__next_error__", + ], + }, + ], + "tags": Array [ + "cat.language", + "wcag2a", + "wcag311", + "TTv5", + "TT11.a", + "EN-301-549", + "EN-9.3.1.1", + "ACT", + ], + }, + Object { + "description": "Ensures the document has a main landmark", + "help": "Document should have one main landmark", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/landmark-one-main?application=playwright", + "id": "landmark-one-main", + "impact": "moderate", + "nodes": Array [ + Object { + "all": Array [ + Object { + "data": null, + "id": "page-has-main", + "impact": "moderate", + "message": "Document does not have a main landmark", + "relatedNodes": Array [], + }, + ], + "any": Array [], + "failureSummary": "Fix all of the following: + Document does not have a main landmark", + "html": "<html id=\"__next_error__\">", + "impact": "moderate", + "none": Array [], + "target": Array [ + "#__next_error__", + ], + }, + ], + "tags": Array [ + "cat.semantics", + "best-practice", + ], + }, + Object { + "description": "Ensure that the page, or at least one of its frames contains a level-one heading", + "help": "Page should contain a level-one heading", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/page-has-heading-one?application=playwright", + "id": "page-has-heading-one", + "impact": "moderate", + "nodes": Array [ + Object { + "all": Array [ + Object { + "data": null, + "id": "page-has-heading-one", + "impact": "moderate", + "message": "Page must have a level-one heading", + "relatedNodes": Array [], + }, + ], + "any": Array [], + "failureSummary": "Fix all of the following: + Page must have a level-one heading", + "html": "<html id=\"__next_error__\">", + "impact": "moderate", + "none": Array [], + "target": Array [ + "#__next_error__", + ], + }, + ], + "tags": Array [ + "cat.semantics", + "best-practice", + ], + }, + ] 391 | } 392 | }) > 393 | expect(accessibilityScanRes
[Desktop Firefox] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works: src/tests/courseList.spec.ts#L311
2) [Desktop Firefox] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to course creation b9f6170718c05c93500a-9bfd79e44578e21bfe10 - Tärpistö - TKO-äly ry" Received string: "Create new course - Tärpistö - TKO-äly ry" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" 309 | await page.waitForURL(/introduction-to-course-creation/) 310 | > 311 | await expect(page).toHaveTitle(`${name} - Tärpistö - TKO-äly ry`) | ^ 312 | 313 | // Disabled as flash messages are not shown yet 314 | // const success = page.getByText( at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:311:24
[Desktop Firefox] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works: src/tests/courseList.spec.ts#L311
2) [Desktop Firefox] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to course creation b9f6170718c05c93500a-9bfd79e44578e21bfe10 - Tärpistö - TKO-äly ry" Received string: "Create new course - Tärpistö - TKO-äly ry" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" 309 | await page.waitForURL(/introduction-to-course-creation/) 310 | > 311 | await expect(page).toHaveTitle(`${name} - Tärpistö - TKO-äly ry`) | ^ 312 | 313 | // Disabled as flash messages are not shown yet 314 | // const success = page.getByText( at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:311:24
[Desktop Firefox] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works: src/tests/courseList.spec.ts#L311
2) [Desktop Firefox] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Introduction to course creation b9f6170718c05c93500a-9bfd79e44578e21bfe10 - Tärpistö - TKO-äly ry" Received string: "Create new course - Tärpistö - TKO-äly ry" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" - locator resolved to <html lang="en" class="__variable_2ef3ef __variable_bc8ab8 bg-gray-800">…</html> - unexpected value "Create new course - Tärpistö - TKO-äly ry" 309 | await page.waitForURL(/introduction-to-course-creation/) 310 | > 311 | await expect(page).toHaveTitle(`${name} - Tärpistö - TKO-äly ry`) | ^ 312 | 313 | // Disabled as flash messages are not shown yet 314 | // const success = page.getByText( at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:311:24
[Desktop Firefox] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works: src/tests/courseList.spec.ts#L354
3) [Desktop Firefox] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByTestId('modal') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByTestId('modal') - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" 352 | await expect(row).toBeVisible() 353 | > 354 | await expect(modal).not.toBeVisible() | ^ 355 | 356 | // Flash messages not implemented yet 357 | // const success = page.getByText(`Course has been renamed from X to Y.`) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:354:29
[Desktop Firefox] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works: src/tests/courseList.spec.ts#L354
3) [Desktop Firefox] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByTestId('modal') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByTestId('modal') - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" 352 | await expect(row).toBeVisible() 353 | > 354 | await expect(modal).not.toBeVisible() | ^ 355 | 356 | // Flash messages not implemented yet 357 | // const success = page.getByText(`Course has been renamed from X to Y.`) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:354:29
[Desktop Firefox] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works: src/tests/courseList.spec.ts#L354
3) [Desktop Firefox] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByTestId('modal') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByTestId('modal') - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" - locator resolved to <div data-test-id="modal" class="fixed bottom-0 left-0 right-0 top-0 z-10 h-screen w-screen overflow-y-auto overflow-x-hidden bg-black/40">…</div> - unexpected value "visible" 352 | await expect(row).toBeVisible() 353 | > 354 | await expect(modal).not.toBeVisible() | ^ 355 | 356 | // Flash messages not implemented yet 357 | // const success = page.getByText(`Course has been renamed from X to Y.`) at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:354:29
[Desktop Firefox] › courseList.spec.ts:388:7 › courselisting functions works › delete course via modal works if no exams currently: src/tests/courseList.spec.ts#L421
4) [Desktop Firefox] › courseList.spec.ts:388:7 › courselisting functions works › delete course via modal works if no exams currently Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Courses' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Courses' }) 419 | 420 | const redirectHeading = page.getByRole('heading', { name: 'Courses' }) > 421 | await expect(redirectHeading).toBeVisible() | ^ 422 | 423 | await expect(modal).not.toBeVisible() 424 | at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:421:35
[Desktop Firefox] › courseList.spec.ts:388:7 › courselisting functions works › delete course via modal works if no exams currently: src/tests/courseList.spec.ts#L421
4) [Desktop Firefox] › courseList.spec.ts:388:7 › courselisting functions works › delete course via modal works if no exams currently Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Courses' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Courses' }) 419 | 420 | const redirectHeading = page.getByRole('heading', { name: 'Courses' }) > 421 | await expect(redirectHeading).toBeVisible() | ^ 422 | 423 | await expect(modal).not.toBeVisible() 424 | at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:421:35
[Desktop Firefox] › courseList.spec.ts:388:7 › courselisting functions works › delete course via modal works if no exams currently: src/tests/courseList.spec.ts#L421
4) [Desktop Firefox] › courseList.spec.ts:388:7 › courselisting functions works › delete course via modal works if no exams currently Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Courses' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Courses' }) 419 | 420 | const redirectHeading = page.getByRole('heading', { name: 'Courses' }) > 421 | await expect(redirectHeading).toBeVisible() | ^ 422 | 423 | await expect(modal).not.toBeVisible() 424 | at /home/runner/work/exam-archive-new/exam-archive-new/src/tests/courseList.spec.ts:421:35
🎭 Playwright Run Summary
1 failed [Mobile Chrome] › examList.spec.ts:117:7 › FileList looks right › FileListing works ──────────── 25 passed (48.9s)
🎭 Playwright Run Summary
5 failed [Desktop Chromium] › examList.spec.ts:117:7 › FileList looks right › FileListing works ───────── [Desktop Firefox] › accessibility.spec.ts:215:7 › accessibility tests › fileList with files ──── [Desktop Firefox] › accessibility.spec.ts:241:7 › accessibility tests › empty fileList ───────── [Desktop Firefox] › accessibility.spec.ts:327:7 › accessibility tests › upload file modal ────── [Desktop Firefox] › accessibility.spec.ts:352:7 › accessibility tests › manage file modal ────── 26 passed (1.2m)
🎭 Playwright Run Summary
9 failed [Desktop Chromium] › accessibility.spec.ts:215:7 › accessibility tests › fileList with files ─── [Desktop Chromium] › accessibility.spec.ts:241:7 › accessibility tests › empty fileList ──────── [Desktop Chromium] › accessibility.spec.ts:327:7 › accessibility tests › upload file modal ───── [Desktop Chromium] › accessibility.spec.ts:352:7 › accessibility tests › manage file modal ───── [Desktop Chromium] › accessibility.spec.ts:377:7 › accessibility tests › not found ───────────── [Desktop Chromium] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works [Desktop Chromium] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works [Desktop Chromium] › courseList.spec.ts:388:7 › courselisting functions works › delete course via modal works if no exams currently [Desktop Chromium] › courseList.spec.ts:432:7 › courselisting functions works › delete course works if no exams currently 22 passed (3.3m)
🎭 Playwright Run Summary
9 failed [Mobile Chrome] › accessibility.spec.ts:215:7 › accessibility tests › fileList with files ────── [Mobile Chrome] › accessibility.spec.ts:241:7 › accessibility tests › empty fileList ─────────── [Mobile Chrome] › accessibility.spec.ts:327:7 › accessibility tests › upload file modal ──────── [Mobile Chrome] › accessibility.spec.ts:352:7 › accessibility tests › manage file modal ──────── [Mobile Chrome] › accessibility.spec.ts:377:7 › accessibility tests › not found ──────────────── [Mobile Chrome] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works [Mobile Chrome] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works [Mobile Chrome] › courseList.spec.ts:388:7 › courselisting functions works › delete course via modal works if no exams currently [Mobile Chrome] › courseList.spec.ts:432:7 › courselisting functions works › delete course works if no exams currently 20 passed (3.3m)
🎭 Playwright Run Summary
6 failed [Desktop Firefox] › accessibility.spec.ts:377:7 › accessibility tests › not found ────────────── [Desktop Firefox] › courseList.spec.ts:289:7 › courselisting functions works › add a new course works [Desktop Firefox] › courseList.spec.ts:320:7 › courselisting functions works › rename course via modal works [Desktop Firefox] › courseList.spec.ts:388:7 › courselisting functions works › delete course via modal works if no exams currently [Desktop Firefox] › courseList.spec.ts:432:7 › courselisting functions works › delete course works if no exams currently [Desktop Firefox] › examList.spec.ts:117:7 › FileList looks right › FileListing works ────────── 30 passed (3.9m)

Artifacts

Produced during runtime
Name Size
test-results-1 Expired
15.6 MB
test-results-2 Expired
9.85 MB
test-results-3 Expired
31.8 MB
test-results-4 Expired
22.4 MB
test-results-5 Expired
2.54 MB