Fix flaky 'Switch to Draft' action in Preview e2e tests (#55772) #87249
end2end-test.yml
on: push
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 25s
Annotations
4 errors and 4 notices
Puppeteer - 3:
packages/e2e-tests/specs/editor/plugins/inner-blocks-render-appender.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-innerblocks-render-appender"] .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/plugins/inner-blocks-render-appender.test.js:22:3)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/plugins/inner-blocks-render-appender.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-innerblocks-render-appender"] .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/plugins/inner-blocks-render-appender.test.js:22:3)
|
Puppeteer - 3
Process completed with exit code 1.
|
[webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@webkit):
test/e2e/specs/editor/various/multi-block-selection.spec.js#L1212
1) [webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@WebKit)
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "<strong>1</strong>|2",
+ "content": "|",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
1210 | // Ensure selection is in the correct place.
1211 | await page.keyboard.type( '|' );
> 1212 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
1213 | {
1214 | name: 'core/paragraph',
1215 | attributes: { content: '<strong>1</strong>|2' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1212:3
|
🎭 Playwright Run Summary
1 skipped
232 passed (11.3m)
|
🎭 Playwright Run Summary
254 passed (20.2m)
|
🎭 Playwright Run Summary
1 flaky
[webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@WebKit)
2 skipped
229 passed (21.1m)
|
🎭 Playwright Run Summary
12 skipped
229 passed (23.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
2.65 MB |
|
flaky-tests-report
Expired
|
3.77 KB |
|