Update external images panel in post publish sidebar #89431
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
17m 19s
Report to GitHub
2m 25s
Annotations
9 errors and 8 notices
[webkit] › editor/various/writing-flow.spec.js:1015:2 › Writing Flow (@firefox:
test/e2e/specs/editor/various/writing-flow.spec.js#L1046
1) [webkit] › editor/various/writing-flow.spec.js:1015:2 › Writing Flow (@Firefox, @WebKit) › should move to the start of the first line on ArrowUp (-firefox)
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Paragraph"i]')
Expected pattern: /^\.a+$/
Received string: "a"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Paragraph"i]')
- locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p>
- unexpected value "a"
- locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p>
- unexpected value "a"
- locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p>
- unexpected value "a"
- locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p>
- unexpected value "a"
- locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p>
- unexpected value "a"
- locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p>
- unexpected value "a"
- locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p>
- unexpected value "a"
- locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p>
- unexpected value "a"
- locator resolved to <p role="document" data-empty="false" aria-multilin…>a</p>
- unexpected value "a"
1044 | await expect(
1045 | editor.canvas.locator( 'role=document[name="Block: Paragraph"i]' )
> 1046 | ).toHaveText( /^\.a+$/ );
| ^
1047 | } );
1048 |
1049 | test( 'should vertically move the caret from corner to corner (-webkit)', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:1046:5
|
[chromium] › editor/blocks/image.spec.js:718:2 › Image › should upload through prepublish panel:
test/e2e/specs/editor/blocks/image.spec.js#L732
1) [chromium] › editor/blocks/image.spec.js:718:2 › Image › should upload through prepublish panel
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Upload' }) resolved to 2 elements:
1) <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button> aka getByLabel('Upload external image')
2) <button type="button" class="components-button is-primar…>Upload</button> aka getByRole('button', { name: 'Upload', exact: true })
=========================== logs ===========================
waiting for getByRole('button', { name: 'Upload' })
============================================================
730 | .getByRole( 'button', { name: 'Publish', exact: true } )
731 | .click();
> 732 | await page.getByRole( 'button', { name: 'Upload' } ).click();
| ^
733 |
734 | await expect( page.locator( '.components-spinner' ) ).toHaveCount( 0 );
735 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:732:56
|
[chromium] › editor/blocks/image.spec.js:718:2 › Image › should upload through prepublish panel:
test/e2e/specs/editor/blocks/image.spec.js#L732
1) [chromium] › editor/blocks/image.spec.js:718:2 › Image › should upload through prepublish panel
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Upload' }) resolved to 2 elements:
1) <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button> aka getByLabel('Upload external image')
2) <button type="button" class="components-button is-primar…>Upload</button> aka getByRole('button', { name: 'Upload', exact: true })
=========================== logs ===========================
waiting for getByRole('button', { name: 'Upload' })
============================================================
730 | .getByRole( 'button', { name: 'Publish', exact: true } )
731 | .click();
> 732 | await page.getByRole( 'button', { name: 'Upload' } ).click();
| ^
733 |
734 | await expect( page.locator( '.components-spinner' ) ).toHaveCount( 0 );
735 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:732:56
|
[chromium] › editor/blocks/image.spec.js:718:2 › Image › should upload through prepublish panel:
test/e2e/specs/editor/blocks/image.spec.js#L732
1) [chromium] › editor/blocks/image.spec.js:718:2 › Image › should upload through prepublish panel
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Upload' }) resolved to 2 elements:
1) <button id=":rs:" type="button" tabindex="-1" data-comma…>…</button> aka getByLabel('Upload external image')
2) <button type="button" class="components-button is-primar…>Upload</button> aka getByRole('button', { name: 'Upload', exact: true })
=========================== logs ===========================
waiting for getByRole('button', { name: 'Upload' })
============================================================
730 | .getByRole( 'button', { name: 'Publish', exact: true } )
731 | .click();
> 732 | await page.getByRole( 'button', { name: 'Upload' } ).click();
| ^
733 |
734 | await expect( page.locator( '.components-spinner' ) ).toHaveCount( 0 );
735 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:732:56
|
Playwright - 1
Process completed with exit code 1.
|
Puppeteer:
packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-allowed-patterns-disable-blocks"] .deactivate a` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:50:4)
|
Puppeteer:
packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-allowed-patterns-disable-blocks"] .deactivate a` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:50:4)
|
Puppeteer:
packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-allowed-patterns-disable-blocks"] .deactivate a` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-plugin.js:29:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:50:4)
|
Puppeteer
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 skipped
106 passed (5.4m)
|
🎭 Playwright Run Summary
128 passed (6.0m)
|
🎭 Playwright Run Summary
1 skipped
113 passed (6.0m)
|
🎭 Playwright Run Summary
1 skipped
147 passed (6.4m)
|
🎭 Playwright Run Summary
130 passed (7.1m)
|
|
🎭 Playwright Run Summary
2 skipped
119 passed (7.4m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › editor/blocks/image.spec.js:718:2 › Image › should upload through prepublish panel
11 skipped
150 passed (7.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
10.3 MB |
|
flaky-tests-report
Expired
|
9.98 KB |
|