fix: pub create/edit form grow to container #2171
on_pr.yml
on: pull_request
ci
/
ci
2m 46s
build-all
/
Emit container tag sha
3s
build-all
/
...
/
Build
2m 48s
build-all
/
...
/
Build
6m 0s
build-all
/
...
/
Build
1m 48s
e2e
/
Integration tests
7m 40s
Annotations
4 errors, 3 warnings, and 1 notice
[chromium] › pub.spec.ts:177:2 › Creating a pub › Can create and edit a rich text field:
core/playwright/pub.spec.ts#L218
1) [chromium] › pub.spec.ts:177:2 › Creating a pub › Can create and edit a rich text field ───────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('link', { name: 'prefix new title' })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('link', { name: 'prefix new title' })
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
216 | ).toHaveCount(1);
217 | await pubsPage.goTo();
> 218 | await expect(page.getByRole("link", { name: `prefix ${actualTitle}` })).toHaveCount(1);
| ^
219 | });
220 |
221 | test("Can create a child pub", async () => {
at /home/runner/work/platform/platform/core/playwright/pub.spec.ts:218:75
|
[chromium] › pub.spec.ts:177:2 › Creating a pub › Can create and edit a rich text field:
core/playwright/pub.spec.ts#L218
1) [chromium] › pub.spec.ts:177:2 › Creating a pub › Can create and edit a rich text field ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('link', { name: 'prefix new title' })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('link', { name: 'prefix new title' })
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
216 | ).toHaveCount(1);
217 | await pubsPage.goTo();
> 218 | await expect(page.getByRole("link", { name: `prefix ${actualTitle}` })).toHaveCount(1);
| ^
219 | });
220 |
221 | test("Can create a child pub", async () => {
at /home/runner/work/platform/platform/core/playwright/pub.spec.ts:218:75
|
[chromium] › pub.spec.ts:177:2 › Creating a pub › Can create and edit a rich text field:
core/playwright/pub.spec.ts#L218
1) [chromium] › pub.spec.ts:177:2 › Creating a pub › Can create and edit a rich text field ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('link', { name: 'prefix new title' })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('link', { name: 'prefix new title' })
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
216 | ).toHaveCount(1);
217 | await pubsPage.goTo();
> 218 | await expect(page.getByRole("link", { name: `prefix ${actualTitle}` })).toHaveCount(1);
| ^
219 | });
220 |
221 | test("Can create a child pub", async () => {
at /home/runner/work/platform/platform/core/playwright/pub.spec.ts:218:75
|
e2e / Integration tests
Process completed with exit code 1.
|
Slow Test:
core/[chromium] › externalFormCreatePub.spec.ts#L1
core/[chromium] › externalFormCreatePub.spec.ts took 29.4s
|
Slow Test:
core/[chromium] › fields.spec.ts#L1
core/[chromium] › fields.spec.ts took 22.4s
|
Slow Test:
core/[chromium] › formBuilder.spec.ts#L1
core/[chromium] › formBuilder.spec.ts took 15.2s
|
🎭 Playwright Run Summary
1 failed
[chromium] › pub.spec.ts:177:2 › Creating a pub › Can create and edit a rich text field ────────
3 skipped
3 did not run
47 passed (6.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-snapshots
Expired
|
21.9 MB |
|