Skip to content

Improve seed structure #2744

Improve seed structure

Improve seed structure #2744

Triggered via pull request July 12, 2023 07:33
Status Failure
Total duration 39m 21s
Artifacts 4
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

system-tests-and-deploy.yml

on: pull_request
Matrix: system-tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors, 35 warnings, and 1 notice
[chromium] › add-regrading.test.ts:7:5 › test: system-tests/src/tests/add-regrading.test.ts#L9
1) [chromium] › add-regrading.test.ts:7:5 › test ───────────────────────────────────────────────── TimeoutError: locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for locator('text=New regrading') ============================================================ 7 | test("test", async ({ page }) => { 8 | await page.goto("http://project-331.local/manage/regradings") > 9 | await page.locator("text=New regrading").click() | ^ 10 | await page.locator('textarea[name="exerciseTaskSubmissionIds"]').click() 11 | await page.locator('textarea[name="exerciseTaskSubmissionIds"]').click() 12 | await page at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/add-regrading.test.ts:9:44
[chromium] › automatic-completion.spec.ts:10:5 › Registers automatic completion: system-tests/src/tests/automatic-completion.spec.ts#L36
2) [chromium] › automatic-completion.spec.ts:10:5 › Registers automatic completion ─────────────── TimeoutError: page.waitForSelector: Timeout 15000ms exceeded. =========================== logs =========================== waiting for locator('text=Congratulations!') to be visible ============================================================ 34 | await page.locator("text=Automatic Completions").click() 35 | await expect(page).toHaveURL("http://project-331.local/org/uh-cs/courses/automatic-completions") > 36 | await page.waitForSelector("text=Congratulations!") | ^ 37 | await expectScreenshotsToMatchSnapshots({ 38 | screenshotTarget: page, 39 | headless, at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/automatic-completion.spec.ts:36:14
[chromium] › certificates/configure-certificate.test.ts:9:5 › test: system-tests/src/tests/certificates/configure-certificate.test.ts#L15
3) [chromium] › certificates/configure-certificate.test.ts:9:5 › test ──────────────────────────── TimeoutError: locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByRole('link', { name: 'Manage course \'Certificates\'' }) ============================================================ 13 | .getByRole("link", { name: "University of Helsinki, Department of Computer Science" }) 14 | .click() > 15 | await page.getByRole("link", { name: "Manage course 'Certificates'" }).click() | ^ 16 | await page.getByRole("tab", { name: "Course instances" }).click() 17 | await page.getByRole("link", { name: "Manage certificates (Default)" }).click() 18 | await expectScreenshotsToMatchSnapshots({ at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/certificates/configure-certificate.test.ts:15:74
[chromium] › certificates/generate-certificate.test.ts:10:5 › test: system-tests/src/tests/certificates/generate-certificate.test.ts#L28
4) [chromium] › certificates/generate-certificate.test.ts:10:5 › test ──────────────────────────── TimeoutError: locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Generate certificate for completion' }).first() ============================================================ 26 | await page.waitForSelector("text=Try again") 27 | await page.getByRole("link", { name: "Certificates" }).click() > 28 | await page.getByRole("button", { name: "Generate certificate for completion" }).first().click() | ^ 29 | await page.getByLabel("Your name *").fill("Example User") 30 | page.once("dialog", (dialog) => { 31 | dialog.accept() at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/certificates/generate-certificate.test.ts:28:91
[chromium] › change-course-language.spec.ts:10:5 › test: system-tests/src/tests/change-course-language.spec.ts#L15
5) [chromium] › change-course-language.spec.ts:10:5 › test ─────────────────────────────────────── TimeoutError: locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByRole('link', { name: 'Navigate to course \'Introduction to citations\'' }) ============================================================ 13 | .getByRole("link", { name: "University of Helsinki, Department of Mathematics and Statistics" }) 14 | .click() > 15 | await page.getByRole("link", { name: "Navigate to course 'Introduction to citations'" }).click() | ^ 16 | await selectCourseInstanceIfPrompted(page) 17 | 18 | await page.getByRole("button", { name: "Open menu" }).click() at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/change-course-language.spec.ts:15:92
[chromium] › cms/converting-blocks.spec.ts:7:5 › Can convert blocks: system-tests/src/tests/cms/converting-blocks.spec.ts#L12
6) [chromium] › cms/converting-blocks.spec.ts:7:5 › Can convert blocks ─────────────────────────── TimeoutError: locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByRole('link', { name: 'Manage course \'Permission management\'' }) ============================================================ 10 | .getByRole("link", { name: "University of Helsinki, Department of Computer Science" }) 11 | .click() > 12 | await page.getByRole("link", { name: "Manage course 'Permission management'" }).click() | ^ 13 | await page.getByRole("tab", { name: "Pages" }).click() 14 | await page 15 | .locator(".css-1oaaogx > .css-noo2yn > .css-nyz7p3 > .css-1fytp2i-PrimaryButton") at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/cms/converting-blocks.spec.ts:12:83
[chromium] › cms/mediaUpload.spec.ts:29:7 › Uploading media as admin › test: system-tests/src/tests/cms/mediaUpload.spec.ts#L32
7) [chromium] › cms/mediaUpload.spec.ts:29:7 › Uploading media as admin › test ─────────────────── TimeoutError: locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for locator('[aria-label="Manage course \'Introduction to everything\'"] svg') ============================================================ 30 | await page.locator("text=University of Helsinki, Department of Computer Science").click() 31 | > 32 | await page.locator("[aria-label=\"Manage course 'Introduction to everything'\"] svg").click() | ^ 33 | 34 | await page.locator("text=Pages").click() 35 | at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/cms/mediaUpload.spec.ts:32:91
[chromium] › content-search.spec.ts:11:5 › content search: system-tests/src/tests/content-search.spec.ts#L19
8) [chromium] › content-search.spec.ts:11:5 › content search ───────────────────────────────────── TimeoutError: page.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for locator('div:text-is("Introduction to Course Material")') ============================================================ 17 | await expectUrlPathWithRandomUuid(page, "/org/uh-cs") 18 | > 19 | await page.click(`div:text-is("Introduction to Course Material")`) | ^ 20 | 21 | await selectCourseInstanceIfPrompted(page) 22 | at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/content-search.spec.ts:19:14
[chromium] › course-instance-management/add-completions.spec.ts:11:5 › test: system-tests/src/tests/course-instance-management/add-completions.spec.ts#L19
9) [chromium] › course-instance-management/add-completions.spec.ts:11:5 › test ─────────────────── TimeoutError: locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for locator('[aria-label="Manage course \\\'Manual Completions\\\'"] path') ============================================================ 17 | await expect(page).toHaveURL("http://project-331.local/org/uh-cs") 18 | > 19 | await page.locator("[aria-label=\"Manage course \\'Manual Completions\\'\"] path").click() | ^ 20 | await expect(page).toHaveURL( 21 | "http://project-331.local/manage/courses/34f4e7b7-9f55-48a7-95d7-3fc3e89553b5", 22 | ) at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/course-instance-management/add-completions.spec.ts:19:86
[chromium] › course-instance-management/course-instance-management.spec.ts:10:5 › test: system-tests/src/tests/course-instance-management/course-instance-management.spec.ts#L20
10) [chromium] › course-instance-management/course-instance-management.spec.ts:10:5 › test ─────── TimeoutError: locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for locator('[aria-label="Manage course \'Advanced course instance management\'"] svg') ============================================================ 18 | await await page 19 | .locator("[aria-label=\"Manage course 'Advanced course instance management'\"] svg") > 20 | .click() | ^ 21 | await expect(page).toHaveURL( 22 | "http://project-331.local/manage/courses/1e0c52c7-8cb9-4089-b1c3-c24fc0dd5ae4", 23 | ) at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/course-instance-management/course-instance-management.spec.ts:20:6
system-tests (2)
The job was canceled because "_1" failed.
system-tests (2)
The operation was canceled.
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Slow Test: system-tests/[chromium] › draft.spec.ts#L1
system-tests/[chromium] › draft.spec.ts took 1.3m
Slow Test: system-tests/[chromium] › course-language-versions.spec.ts#L1
system-tests/[chromium] › course-language-versions.spec.ts took 50.5s
Slow Test: system-tests/[chromium] › feedback/feedback.spec.ts#L1
system-tests/[chromium] › feedback/feedback.spec.ts took 36.6s
Slow Test: system-tests/[chromium] › history/history.spec.ts#L1
system-tests/[chromium] › history/history.spec.ts took 30.5s
Slow Test: system-tests/[chromium] › automatic-completion.spec.ts#L1
system-tests/[chromium] › automatic-completion.spec.ts took 26.6s
system-tests (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
system-tests (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
🎭 Playwright Run Summary
38 failed [chromium] › add-regrading.test.ts:7:5 › test ────────────────────────────────────────────────── [chromium] › automatic-completion.spec.ts:10:5 › Registers automatic completion ──────────────── [chromium] › certificates/configure-certificate.test.ts:9:5 › test ───────────────────────────── [chromium] › certificates/generate-certificate.test.ts:10:5 › test ───────────────────────────── [chromium] › change-course-language.spec.ts:10:5 › test ──────────────────────────────────────── [chromium] › cms/converting-blocks.spec.ts:7:5 › Can convert blocks ──────────────────────────── [chromium] › cms/mediaUpload.spec.ts:29:7 › Uploading media as admin › test ──────────────────── [chromium] › content-search.spec.ts:11:5 › content search ────────────────────────────────────── [chromium] › course-instance-management/add-completions.spec.ts:11:5 › test ──────────────────── [chromium] › course-instance-management/course-instance-management.spec.ts:10:5 › test ───────── [chromium] › course-language-versions.spec.ts:10:5 › test ────────────────────────────────────── [chromium] › course-language-versions.spec.ts:73:5 › creator of the language version has permissions to the new version [chromium] › course-language-versions.spec.ts:86:5 › creator of new language version can grant permissions to same users as the original course [chromium] › course-list.spec.ts:10:5 › course list renders ──────────────────────────────────── [chromium] › course-material/content-components-render.spec.ts:8:5 › blocks render correctly ─── [chromium] › course-material/custom-iframe.spec.ts:10:5 › test ───────────────────────────────── [chromium] › course-modules/course-modules.spec.ts:9:5 › Course modules test ─────────────────── [chromium] › creating-course-and-returning-an-exercise.spec.ts:14:5 › test ───────────────────── [chromium] › draft.spec.ts:44:7 › admin › can see draft course ───────────────────────────────── [chromium] › draft.spec.ts:54:7 › admin › can create a draft course and change it to a non-draft course [chromium] › draft.spec.ts:108:7 › Teacher › Can give students access to the draft course ────── [chromium] › draft.spec.ts:137:7 › Teacher › teacher gets permissions to new course when copying a course [chromium] › draft.spec.ts:162:7 › Teacher › teacher can copy course and grant users the same permissions as the original course [chromium] › exam-list.spec.ts:10:5 › exam list renders, can create exam ─────────────────────── [chromium] › exams/create-new-exam.spec.ts:7:5 › test ────────────────────────────────────────── [chromium] › exams/exam-instructions.spec.ts:8:5 › test ──────────────────────────────────────── [chromium] › exams/exam-with-automatic-eligibility.spec.ts:10:5 › Can take exam after enough course points [chromium] › exams/taking-exam.spec.ts:8:5 › Can start an exam and can answer exercises ──────── [chromium] › exercise-list.spec.ts:9:5 › test ────────────────────────────────────────────────── [chromium] › exercise-service.spec.ts:19:5 › can add and delete exercise service ─────────────── [chromium] › feedback/feedback.spec.ts:15:5 › feedback test ──────────────────────────────────── [chromium] › glossary-tooltip.spec.ts:10:5 › glossary-tooltip ────────────────────────────────── [chromium] › glossary.spec.ts:10:5 › glossary test ───────────────────────────────────────────── [chromium] › gutenberg/spacer-not-breaking-editing.spec.ts:9:5 › Spacers should not break text editing under them, block inserter should not go on top of the typing caret [chromium] › headings-navigation.spec.ts:10:5 › headings navigation works ────────────────────── [chromium] › history/history.spec.ts:16:5 › history test ─────────────────────────────────────── [chromium] › latex.spec.ts:12:5 › latex-block renders ────────────────────────────────────────── [chromium] › limited-tries.spec.ts:9:5 › Limited tries work ──────────────────────────────────── 8 passed (12.1m)

Artifacts

Produced during runtime
Name Size
playwright-html-report Expired
514 KB
skaffold-build-output Expired
3.13 KB
skaffold-images Expired
314 MB
test-results Expired
41.6 MB