Admin module Bootstrap5 conversion #555
ci.yml
on: pull_request
Unit/Acceptance tests
7m 52s
Annotations
8 errors and 1 notice
Unit/Acceptance tests
Process completed with exit code 1.
|
[chromium] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations:
test/playwright/src/admin.test.ts#L160
1) [chromium] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Migration created')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Migration created')
158 | await modal.locator("#name").fill(migration);
159 | await modal.getByRole("button", { name: "Save" }).click();
> 160 | await expect(page.getByText("Migration created")).toBeVisible();
| ^
161 |
162 | if (await page.locator("#admin table tr td", {hasText: migration}).count() != 1) {
163 | console.warn("Could not create migration " + migration + ", skipping tests");
at /home/runner/work/cmfive-core/cmfive-core/test/playwright/src/admin.test.ts:160:55
|
[firefox] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups:
test/playwright/src/utils/admin.ts#L100
2) [firefox] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups ───────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Lookup Item added')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Lookup Item added')
at src/utils/admin.ts:100
98 | await page.getByRole("button", {name: "Save"}).click();
99 |
> 100 | await expect(page.getByText("Lookup Item added")).toBeVisible();
| ^
101 | }
102 |
103 | static async createLookup(page: Page, type: string, code: string, lookup: string)
at Function.createLookupType (/home/runner/work/cmfive-core/cmfive-core/test/playwright/src/utils/admin.ts:100:59)
at /home/runner/work/cmfive-core/cmfive-core/test/playwright/src/admin.test.ts:85:5
|
[firefox] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations:
test/playwright/src/admin.test.ts#L160
3) [firefox] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Migration created')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Migration created')
158 | await modal.locator("#name").fill(migration);
159 | await modal.getByRole("button", { name: "Save" }).click();
> 160 | await expect(page.getByText("Migration created")).toBeVisible();
| ^
161 |
162 | if (await page.locator("#admin table tr td", {hasText: migration}).count() != 1) {
163 | console.warn("Could not create migration " + migration + ", skipping tests");
at /home/runner/work/cmfive-core/cmfive-core/test/playwright/src/admin.test.ts:160:55
|
[Microsoft Edge] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups:
test/playwright/src/utils/admin.ts#L100
4) [Microsoft Edge] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups ────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Lookup Item added')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Lookup Item added')
at src/utils/admin.ts:100
98 | await page.getByRole("button", {name: "Save"}).click();
99 |
> 100 | await expect(page.getByText("Lookup Item added")).toBeVisible();
| ^
101 | }
102 |
103 | static async createLookup(page: Page, type: string, code: string, lookup: string)
at Function.createLookupType (/home/runner/work/cmfive-core/cmfive-core/test/playwright/src/utils/admin.ts:100:59)
at /home/runner/work/cmfive-core/cmfive-core/test/playwright/src/admin.test.ts:85:5
|
[Microsoft Edge] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations:
test/playwright/src/admin.test.ts#L160
5) [Microsoft Edge] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Migration created')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Migration created')
158 | await modal.locator("#name").fill(migration);
159 | await modal.getByRole("button", { name: "Save" }).click();
> 160 | await expect(page.getByText("Migration created")).toBeVisible();
| ^
161 |
162 | if (await page.locator("#admin table tr td", {hasText: migration}).count() != 1) {
163 | console.warn("Could not create migration " + migration + ", skipping tests");
at /home/runner/work/cmfive-core/cmfive-core/test/playwright/src/admin.test.ts:160:55
|
[Google Chrome] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups:
test/playwright/src/utils/admin.ts#L100
6) [Google Chrome] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups ─────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Lookup Item added')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Lookup Item added')
at src/utils/admin.ts:100
98 | await page.getByRole("button", {name: "Save"}).click();
99 |
> 100 | await expect(page.getByText("Lookup Item added")).toBeVisible();
| ^
101 | }
102 |
103 | static async createLookup(page: Page, type: string, code: string, lookup: string)
at Function.createLookupType (/home/runner/work/cmfive-core/cmfive-core/test/playwright/src/utils/admin.ts:100:59)
at /home/runner/work/cmfive-core/cmfive-core/test/playwright/src/admin.test.ts:85:5
|
[Google Chrome] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations:
test/playwright/src/admin.test.ts#L160
7) [Google Chrome] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Migration created')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Migration created')
158 | await modal.locator("#name").fill(migration);
159 | await modal.getByRole("button", { name: "Save" }).click();
> 160 | await expect(page.getByText("Migration created")).toBeVisible();
| ^
161 |
162 | if (await page.locator("#admin table tr td", {hasText: migration}).count() != 1) {
163 | console.warn("Could not create migration " + migration + ", skipping tests");
at /home/runner/work/cmfive-core/cmfive-core/test/playwright/src/admin.test.ts:160:55
|
🎭 Playwright Run Summary
7 failed
[chromium] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations
[firefox] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups ────────────────────
[firefox] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations
[Microsoft Edge] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups ─────────────
[Microsoft Edge] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations
[Google Chrome] › src/admin.test.ts:65:5 › Test that Cmfive Admin handles lookups ──────────────
[Google Chrome] › src/admin.test.ts:143:5 › Test that Cmfive Admin can create/run/rollback migrations
13 passed (1.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-output
Expired
|
193 KB |
|