Feat: Playwright testing for boilerplate #172
Annotations
10 errors, 1 warning, and 1 notice
Run admin module tests:
boilerplate/test/playwright/src/admin.test.ts#L1
1) [chromium] › src/admin.test.ts:7:5 › Admin can update password of user ────────────────────────
Test timeout of 30000ms exceeded.
|
Run admin module tests:
boilerplate/test/playwright/cmfive.utils.ts#L44
1) [chromium] › src/admin.test.ts:7:5 › Admin can update password of user ────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Menu' })
at cmfive.utils.ts:44
42 | await page.locator(".bi-list").first().click();
43 | else
> 44 | await page.getByRole("link", {name: "Menu"}).click();
| ^
45 |
46 | const navbarCategory = isMobile && bootstrap5
47 | ? page.locator("#accordion_menu_" + category.toLowerCase().split(" ").join("_") + "_heading")
at Function.clickCmfiveNavbar (/home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/cmfive.utils.ts:44:62)
at Function.createUser (/home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/src/utils/admin.ts:9:13)
at /home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/src/admin.test.ts:14:2
|
Run admin module tests:
boilerplate/test/playwright/src/admin.test.ts#L1
2) [chromium] › src/admin.test.ts:42:5 › Test that an admin can create and delete a user ─────────
Test timeout of 30000ms exceeded.
|
Run admin module tests:
boilerplate/test/playwright/cmfive.utils.ts#L44
2) [chromium] › src/admin.test.ts:42:5 › Test that an admin can create and delete a user ─────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Menu' })
at cmfive.utils.ts:44
42 | await page.locator(".bi-list").first().click();
43 | else
> 44 | await page.getByRole("link", {name: "Menu"}).click();
| ^
45 |
46 | const navbarCategory = isMobile && bootstrap5
47 | ? page.locator("#accordion_menu_" + category.toLowerCase().split(" ").join("_") + "_heading")
at Function.clickCmfiveNavbar (/home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/cmfive.utils.ts:44:62)
at Function.createUser (/home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/src/utils/admin.ts:9:13)
at /home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/src/admin.test.ts:49:5
|
Run admin module tests:
boilerplate/test/playwright/src/admin.test.ts#L1
3) [chromium] › src/admin.test.ts:61:5 › Test that users, groups & permissions are assignable ────
Test timeout of 30000ms exceeded.
|
Run admin module tests:
boilerplate/test/playwright/cmfive.utils.ts#L44
3) [chromium] › src/admin.test.ts:61:5 › Test that users, groups & permissions are assignable ────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Menu' })
at cmfive.utils.ts:44
42 | await page.locator(".bi-list").first().click();
43 | else
> 44 | await page.getByRole("link", {name: "Menu"}).click();
| ^
45 |
46 | const navbarCategory = isMobile && bootstrap5
47 | ? page.locator("#accordion_menu_" + category.toLowerCase().split(" ").join("_") + "_heading")
at Function.clickCmfiveNavbar (/home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/cmfive.utils.ts:44:62)
at Function.createUser (/home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/src/utils/admin.ts:9:13)
at /home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/src/admin.test.ts:68:5
|
Run admin module tests:
boilerplate/test/playwright/src/admin.test.ts#L1
4) [chromium] › src/admin.test.ts:100:5 › Test that Cmfive Admin handles lookups ─────────────────
Test timeout of 30000ms exceeded.
|
Run admin module tests:
boilerplate/test/playwright/cmfive.utils.ts#L44
4) [chromium] › src/admin.test.ts:100:5 › Test that Cmfive Admin handles lookups ─────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Menu' })
at cmfive.utils.ts:44
42 | await page.locator(".bi-list").first().click();
43 | else
> 44 | await page.getByRole("link", {name: "Menu"}).click();
| ^
45 |
46 | const navbarCategory = isMobile && bootstrap5
47 | ? page.locator("#accordion_menu_" + category.toLowerCase().split(" ").join("_") + "_heading")
at Function.clickCmfiveNavbar (/home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/cmfive.utils.ts:44:62)
at Function.createUser (/home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/src/utils/admin.ts:9:13)
at /home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/src/admin.test.ts:107:5
|
Run admin module tests:
boilerplate/test/playwright/src/admin.test.ts#L1
5) [chromium] › src/admin.test.ts:149:5 › Test that Cmfive Admin handles templates ───────────────
Test timeout of 30000ms exceeded.
|
Run admin module tests:
boilerplate/test/playwright/cmfive.utils.ts#L44
5) [chromium] › src/admin.test.ts:149:5 › Test that Cmfive Admin handles templates ───────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Menu' })
at cmfive.utils.ts:44
42 | await page.locator(".bi-list").first().click();
43 | else
> 44 | await page.getByRole("link", {name: "Menu"}).click();
| ^
45 |
46 | const navbarCategory = isMobile && bootstrap5
47 | ? page.locator("#accordion_menu_" + category.toLowerCase().split(" ").join("_") + "_heading")
at Function.clickCmfiveNavbar (/home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/cmfive.utils.ts:44:62)
at Function.createTemplate (/home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/src/utils/admin.ts:240:9)
at /home/runner/work/cmfive-boilerplate/cmfive-boilerplate/boilerplate/test/playwright/src/admin.test.ts:155:24
|
Post Checkout boilerplate
Failed to remove 'http.https://github.com/.extraheader' from the git config
|
Run admin module tests
7 failed
[chromium] › src/admin.test.ts:7:5 › Admin can update password of user ─────────────────────────
[chromium] › src/admin.test.ts:42:5 › Test that an admin can create and delete a user ──────────
[chromium] › src/admin.test.ts:61:5 › Test that users, groups & permissions are assignable ─────
[chromium] › src/admin.test.ts:100:5 › Test that Cmfive Admin handles lookups ──────────────────
[chromium] › src/admin.test.ts:149:5 › Test that Cmfive Admin handles templates ────────────────
[chromium] › src/admin.test.ts:178:5 › Test that Cmfive Admin handles bad templates ────────────
[chromium] › src/admin.test.ts:213:5 › Test that Cmfive Admin can create/run/rollback migrations
|
Loading