Site Editor: Fix browser console error in Library page #76310
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 3s
Annotations
5 errors and 2 notices
[chromium] › site-editor/site-editor-url-navigation.spec.js:60:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template part creation:
test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L66
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:60:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template part creation
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Create a pattern"i]')
============================================================
64 | await admin.visitSiteEditor();
65 | await page.click( 'role=button[name="Library"i]' );
> 66 | await page.click( 'role=button[name="Create a pattern"i]' );
| ^
67 | await page
68 | .getByRole( 'menu', { name: 'Create a pattern' } )
69 | .getByRole( 'menuitem', { name: 'Create a template part' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:66:15
|
[chromium] › site-editor/site-editor-url-navigation.spec.js:60:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template part creation:
test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L66
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:60:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template part creation
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Create a pattern"i]')
============================================================
64 | await admin.visitSiteEditor();
65 | await page.click( 'role=button[name="Library"i]' );
> 66 | await page.click( 'role=button[name="Create a pattern"i]' );
| ^
67 | await page
68 | .getByRole( 'menu', { name: 'Create a pattern' } )
69 | .getByRole( 'menuitem', { name: 'Create a template part' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:66:15
|
[chromium] › site-editor/site-editor-url-navigation.spec.js:60:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template part creation:
test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L66
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:60:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template part creation
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Create a pattern"i]')
============================================================
64 | await admin.visitSiteEditor();
65 | await page.click( 'role=button[name="Library"i]' );
> 66 | await page.click( 'role=button[name="Create a pattern"i]' );
| ^
67 | await page
68 | .getByRole( 'menu', { name: 'Create a pattern' } )
69 | .getByRole( 'menuitem', { name: 'Create a template part' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:66:15
|
Playwright - 2
Process completed with exit code 1.
|
[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
1) [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
1 failed
[chromium] › site-editor/site-editor-url-navigation.spec.js:60:3 › Site editor url navigation › Redirection after template and template part creation › Redirection after template part creation
2 skipped
300 passed (26.7m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block
313 passed (26.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
5.66 MB |
|
flaky-tests-report
Expired
|
3.36 KB |
|