Skip to content

Fix flaky 'hooks API' e2e test (#51592) #75882

Fix flaky 'hooks API' e2e test (#51592)

Fix flaky 'hooks API' e2e test (#51592) #75882

Triggered via push June 17, 2023 05:35
Status Success
Total duration 45m 31s
Artifacts 2
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

end2end-test.yml

on: push
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 53s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 notices
[chromium] › editor/plugins/iframed-block.spec.js:16:2 › Iframed block › Should save the changes: test/e2e/specs/editor/plugins/iframed-block.spec.js#L27
1) [chromium] › editor/plugins/iframed-block.spec.js:16:2 › Iframed block › Should save the changes TimeoutError: page.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Page"i]') ============================================================ 25 | 26 | // open page from sidebar settings > 27 | await page.click( | ^ 28 | 'role=region[name="Editor settings"i] >> role=button[name="Page"i]' 29 | ); 30 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/iframed-block.spec.js:27:14
[chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block: test/e2e/specs/editor/various/convert-block-type.spec.js#L26
2) [chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:code --> - <pre class="wp-block-code"><code>print "Hello Dolly!"</code></pre> + <pre class="wp-block-code"><code></code></pre> <!-- /wp:code --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 24 | // Verify the content starts out as a Code block. 25 | > 26 | await expect.poll( editor.getEditedPostContent ).toBe( `<!-- wp:code --> | ^ 27 | <pre class="wp-block-code"><code>${ code }</code></pre> 28 | <!-- /wp:code -->` ); 29 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/convert-block-type.spec.js:26:3
🎭 Playwright Run Summary
2 flaky [chromium] › editor/plugins/iframed-block.spec.js:16:2 › Iframed block › Should save the changes [chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block 308 passed (27.4m)
🎭 Playwright Run Summary
2 skipped 303 passed (30.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
3.11 MB
flaky-tests-report Expired
5.44 KB