iAPI Docs: Fix typos, code errors, and inaccuracies in the documentation #151092
Annotations
4 errors and 8 notices
|
[chromium] › specs/editor/various/mentions.spec.js:65:2 › autocomplete mentions › should insert two subsequent mentions:
test/e2e/specs/editor/various/mentions.spec.js#L83
1) [chromium] › specs/editor/various/mentions.spec.js:65:2 › autocomplete mentions › should insert two subsequent mentions
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 5
<!-- wp:paragraph -->
- <p>I am @testuser @admin.</p>
+ <p>I am @testuser @ad</p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:paragraph -->
+ <p>.</p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
81 | await page.keyboard.press( 'Enter' );
82 | await page.keyboard.type( '.' );
> 83 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
84 | `<!-- wp:paragraph -->
85 | <p>I am @testuser @admin.</p>
86 | <!-- /wp:paragraph -->`
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/mentions.spec.js:83:3
|
|
[chromium] › specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling:
test/e2e/specs/editor/various/publish-panel.spec.js#L33
2) [chromium] › specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling
Error: expect(locator).toBeFocused() failed
Locator: locator('role=region[name="Editor top bar"i]').locator('role=button[name="Publish"i]')
Expected: focused
Received: inactive
Timeout: 5000ms
Call log:
- Expect "toBeFocused" with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Publish"i]')
9 × locator resolved to <button type="button" aria-expanded="true" aria-disabled="false" class="components-button editor-post-publish-panel__toggle editor-post-publish-button__button is-primary is-compact">Publish</button>
- unexpected value "inactive"
31 |
32 | // Test focus is moved back to the Publish panel toggle button.
> 33 | await expect( publishPanelToggleButton ).toBeFocused();
| ^
34 | } );
35 |
36 | test( 'should move focus back to the Publish panel toggle button after publishing and closing the panel', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:33:44
|
|
[chromium] › specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted › Paragraph and Group blocks are available in the inserter
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByText('Initial content')
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-content-focus-mode.spec.js:163:18
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-content-focus-mode.spec.js:159:15
|
|
[chromium] › specs/site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page:
test/e2e/specs/site-editor/homepage-settings.spec.js#L93
1) [chromium] › specs/site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page
Error: locator.click: Error: strict mode violation: getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Sample page') }) resolved to 2 elements:
1) <div class="" id=":ru:" role="row">…</div> aka getByRole('row', { name: 'Sample Page Edit Actions Author Author avatar admin Status Published', exact: true })
2) <div class="" id=":r16:" role="row">…</div> aka getByRole('row', { name: 'Sample page Edit Actions Author Author avatar admin Status Published', exact: true })
Call log:
- waiting for getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Sample page') })
91 | .filter( { has: samplePageTwo } );
92 | // eslint-disable-next-line playwright/no-force-option
> 93 | await samplePageTwoRow.click( { force: true } );
| ^
94 | await samplePageTwoRow
95 | .getByRole( 'button', {
96 | name: 'Actions',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/homepage-settings.spec.js:93:26
|
|
🎭 Playwright Run Summary
249 passed (13.7m)
|
|
🎭 Playwright Run Summary
6 skipped
242 passed (14.1m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/editor/various/mentions.spec.js:65:2 › autocomplete mentions › should insert two subsequent mentions
1 skipped
243 passed (13.5m)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted
[chromium] › specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling
5 skipped
230 passed (13.5m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page
3 skipped
244 passed (14.6m)
|
|
🎭 Playwright Run Summary
5 skipped
240 passed (16.0m)
|
|
🎭 Playwright Run Summary
1 skipped
260 passed (24.4m)
|
|
🎭 Playwright Run Summary
3 skipped
242 passed (12.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-reports-merged
|
10.3 MB |
sha256:f9992697769377df161f83307eb7a04b1b7b0693ed5544338dcefe1475d09bec
|
|
|
flaky-tests-report
|
4.57 KB |
sha256:cd358e6cd4c7080ada510fb29643e4dace33661c87b40367ec6c7a6f1f2f5f52
|
|
|
html-report--attempt-1
|
9.6 MB |
sha256:f42207dca92bd0f5c27ccbf8a4c8d431a6de734c9aaf4c47e3c3b5f48d823cd4
|
|