Dependencies 07/2024 #113
Annotations
8 errors and 1 notice
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
|
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
|
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
|
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
|
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
|
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
|
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
|
|
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)
|
This job failed
Loading