Skip to content

bugfix: only provide taskgroup link if you can follow it. #898

bugfix: only provide taskgroup link if you can follow it.

bugfix: only provide taskgroup link if you can follow it. #898

Triggered via pull request July 10, 2024 08:06
Status Failure
Total duration 3m 41s
Artifacts 2

ci.yml

on: pull_request
Matrix: PHP CS
Matrix: Unit/Acceptance tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 1 notice
[chromium] › src/admin.test.ts:7:5 › Test that an admin can create and delete a user: boilerplate/test/playwright/src/utils/admin.ts#L36
1) [chromium] › src/admin.test.ts:7:5 › Test that an admin can create and delete a user ────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Permissions updated') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Permissions updated') at src/utils/admin.ts:36 34 | 35 | await page.getByRole("button", { name: "Save" }).click(); > 36 | await expect(page.getByText("Permissions updated")).toBeVisible(); | ^ 37 | } 38 | 39 | static async deleteUser(page: Page, username: string) at Function.createUser (/home/runner/work/cmfive-core/cmfive-core/boilerplate/test/playwright/src/utils/admin.ts:36:61) at /home/runner/work/cmfive-core/cmfive-core/boilerplate/test/playwright/src/admin.test.ts:14:5
[chromium] › src/admin.test.ts:26:5 › Test that users: boilerplate/test/playwright/src/utils/admin.ts#L36
2) [chromium] › src/admin.test.ts:26:5 › Test that users, groups & permissions are assignable ──── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Permissions updated') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Permissions updated') at src/utils/admin.ts:36 34 | 35 | await page.getByRole("button", { name: "Save" }).click(); > 36 | await expect(page.getByText("Permissions updated")).toBeVisible(); | ^ 37 | } 38 | 39 | static async deleteUser(page: Page, username: string) at Function.createUser (/home/runner/work/cmfive-core/cmfive-core/boilerplate/test/playwright/src/utils/admin.ts:36:61) at /home/runner/work/cmfive-core/cmfive-core/boilerplate/test/playwright/src/admin.test.ts:33:5
[chromium] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups: boilerplate/test/playwright/src/utils/admin.ts#L36
3) [chromium] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups ────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Permissions updated') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Permissions updated') at src/utils/admin.ts:36 34 | 35 | await page.getByRole("button", { name: "Save" }).click(); > 36 | await expect(page.getByText("Permissions updated")).toBeVisible(); | ^ 37 | } 38 | 39 | static async deleteUser(page: Page, username: string) at Function.createUser (/home/runner/work/cmfive-core/cmfive-core/boilerplate/test/playwright/src/utils/admin.ts:36:61) at /home/runner/work/cmfive-core/cmfive-core/boilerplate/test/playwright/src/admin.test.ts:72:5
[chromium] › src/admin.test.ts:114:5 › Test that Cmfive Admin handles templates: boilerplate/test/playwright/src/admin.test.ts#L1
4) [chromium] › src/admin.test.ts:114:5 › Test that Cmfive Admin handles templates ─────────────── Test timeout of 30000ms exceeded.
[chromium] › src/admin.test.ts:114:5 › Test that Cmfive Admin handles templates: boilerplate/test/playwright/src/utils/admin.ts#L253
4) [chromium] › src/admin.test.ts:114:5 › Test that Cmfive Admin handles templates ─────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('#template_body').nth(1) at src/utils/admin.ts:253 251 | await page.locator("#template_title").fill(templateTitle); 252 | > 253 | await page.locator("#template_body").nth(1).click(); | ^ 254 | 255 | // code mirror auto completes open/closed html tags, so skip writing them 256 | // typing <table> puts cursor on new line between <table> and </table> at Function.createTemplate (/home/runner/work/cmfive-core/cmfive-core/boilerplate/test/playwright/src/utils/admin.ts:253:53) at /home/runner/work/cmfive-core/cmfive-core/boilerplate/test/playwright/src/admin.test.ts:120:24
[chromium] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations: boilerplate/test/playwright/src/admin.test.ts#L1
5) [chromium] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations Test timeout of 30000ms exceeded.
[chromium] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations: boilerplate/test/playwright/src/admin.test.ts#L153
5) [chromium] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Create an admin migration' }) 151 | // create migration 152 | await page.getByRole("link", { name: "Individual" }).click(); > 153 | await page.getByRole("button", { name: "Create an admin migration" }).click(); | ^ 154 | await page.waitForSelector("#cmfive-modal", { state: "visible" }); 155 | const modal = page.locator("#cmfive-modal"); 156 | at /home/runner/work/cmfive-core/cmfive-core/boilerplate/test/playwright/src/admin.test.ts:153:75
Unit/Acceptance tests (20)
Process completed with exit code 1.
Unit/Acceptance tests (18)
The job was canceled because "_20" failed.
Unit/Acceptance tests (18)
The operation was canceled.
Unit/Acceptance tests (20)
Failed to remove 'http.https://github.com/.extraheader' from the git config
Unit/Acceptance tests (18)
Failed to remove 'http.https://github.com/.extraheader' from the git config
🎭 Playwright Run Summary
5 failed [chromium] › src/admin.test.ts:7:5 › Test that an admin can create and delete a user ─────────── [chromium] › src/admin.test.ts:26:5 › Test that users, groups & permissions are assignable ───── [chromium] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups ─────────────────── [chromium] › src/admin.test.ts:114:5 › Test that Cmfive Admin handles templates ──────────────── [chromium] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations

Artifacts

Produced during runtime
Name Size
test-output-18 Expired
6.2 MB
test-output-20 Expired
6.27 MB