[Site Editor]: Consolidate save button functionality #99910
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
5m 42s
Report to GitHub
3m 42s
Annotations
23 errors, 10 warnings, and 8 notices
[chromium] › editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L125
1) [chromium] › editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected
Error: Timed out 5000ms waiting for expect(locator).not.toHaveClass(expected)
Locator: getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish' })
Expected pattern: not /has-changes-dot/
Received string: "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
Call log:
- expect.not.toHaveClass with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish' })
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
123 | topBar.getByRole( 'button', { name: 'Saved' } )
124 | ).toBeDisabled();
> 125 | await expect( publishButton ).not.toHaveClass( /has-changes-dot/ );
| ^
126 | await expect( openSavePanel ).toBeHidden();
127 |
128 | await editor.publishPost();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:125:37
|
[chromium] › editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L125
1) [chromium] › editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toHaveClass(expected)
Locator: getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish' })
Expected pattern: not /has-changes-dot/
Received string: "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
Call log:
- expect.not.toHaveClass with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish' })
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
123 | topBar.getByRole( 'button', { name: 'Saved' } )
124 | ).toBeDisabled();
> 125 | await expect( publishButton ).not.toHaveClass( /has-changes-dot/ );
| ^
126 | await expect( openSavePanel ).toBeHidden();
127 |
128 | await editor.publishPost();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:125:37
|
[chromium] › editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L125
1) [chromium] › editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toHaveClass(expected)
Locator: getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish' })
Expected pattern: not /has-changes-dot/
Received string: "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
Call log:
- expect.not.toHaveClass with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish' })
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
- locator resolved to <button type="button" aria-disabled="false" aria-expande…>Publish</button>
- unexpected value "components-button editor-post-publish-panel__toggle editor-post-publish-button__button has-changes-dot is-primary is-compact"
123 | topBar.getByRole( 'button', { name: 'Saved' } )
124 | ).toBeDisabled();
> 125 | await expect( publishButton ).not.toHaveClass( /has-changes-dot/ );
| ^
126 | await expect( openSavePanel ).toBeHidden();
127 |
128 | await editor.publishPost();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:125:37
|
[chromium] › editor/various/multi-entity-saving.spec.js:151:2 › Editor - Multi-entity save flow › Site blocks should save individually:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L208
2) [chromium] › editor/various/multi-entity-saving.spec.js:151:2 › Editor - Multi-entity save flow › Site blocks should save individually
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
206 | await topBar.getByRole( 'button', { name: 'Update' } ).click();
207 |
> 208 | await expect( publishPanel.getByRole( 'checkbox' ) ).toHaveCount( 1 );
| ^
209 | } );
210 | } );
211 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:208:56
|
[chromium] › editor/various/multi-entity-saving.spec.js:151:2 › Editor - Multi-entity save flow › Site blocks should save individually:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L208
2) [chromium] › editor/various/multi-entity-saving.spec.js:151:2 › Editor - Multi-entity save flow › Site blocks should save individually
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
206 | await topBar.getByRole( 'button', { name: 'Update' } ).click();
207 |
> 208 | await expect( publishPanel.getByRole( 'checkbox' ) ).toHaveCount( 1 );
| ^
209 | } );
210 | } );
211 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:208:56
|
[chromium] › editor/various/multi-entity-saving.spec.js:151:2 › Editor - Multi-entity save flow › Site blocks should save individually:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L208
2) [chromium] › editor/various/multi-entity-saving.spec.js:151:2 › Editor - Multi-entity save flow › Site blocks should save individually
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
206 | await topBar.getByRole( 'button', { name: 'Update' } ).click();
207 |
> 208 | await expect( publishPanel.getByRole( 'checkbox' ) ).toHaveCount( 1 );
| ^
209 | } );
210 | } );
211 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:208:56
|
Playwright - 4
Process completed with exit code 1.
|
Playwright - 6
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
[chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L35
1) [chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText('Site updated.') to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35
33 | .getByRole( 'button', { name: 'Dismiss this notice' } )
34 | .getByText( 'Site updated.' )
> 35 | .waitFor();
| ^
36 | }
37 |
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:38:3
|
[chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L35
1) [chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText('Site updated.') to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35
33 | .getByRole( 'button', { name: 'Dismiss this notice' } )
34 | .getByText( 'Site updated.' )
> 35 | .waitFor();
| ^
36 | }
37 |
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:38:3
|
[chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L35
1) [chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText('Site updated.') to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35
33 | .getByRole( 'button', { name: 'Dismiss this notice' } )
34 | .getByText( 'Site updated.' )
> 35 | .waitFor();
| ^
36 | }
37 |
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:38:3
|
[chromium] › site-editor/template-revert.spec.js:60:2 › Template Revert › should show the original content after revert:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L35
2) [chromium] › site-editor/template-revert.spec.js:60:2 › Template Revert › should show the original content after revert
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText('Site updated.') to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35
33 | .getByRole( 'button', { name: 'Dismiss this notice' } )
34 | .getByText( 'Site updated.' )
> 35 | .waitFor();
| ^
36 | }
37 |
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:71:3
|
[chromium] › site-editor/template-revert.spec.js:60:2 › Template Revert › should show the original content after revert:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L35
2) [chromium] › site-editor/template-revert.spec.js:60:2 › Template Revert › should show the original content after revert
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText('Site updated.') to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35
33 | .getByRole( 'button', { name: 'Dismiss this notice' } )
34 | .getByText( 'Site updated.' )
> 35 | .waitFor();
| ^
36 | }
37 |
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:71:3
|
[chromium] › site-editor/template-revert.spec.js:60:2 › Template Revert › should show the original content after revert:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L35
2) [chromium] › site-editor/template-revert.spec.js:60:2 › Template Revert › should show the original content after revert
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText('Site updated.') to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35
33 | .getByRole( 'button', { name: 'Dismiss this notice' } )
34 | .getByText( 'Site updated.' )
> 35 | .waitFor();
| ^
36 | }
37 |
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:71:3
|
[chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L35
3) [chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText('Site updated.') to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35
33 | .getByRole( 'button', { name: 'Dismiss this notice' } )
34 | .getByText( 'Site updated.' )
> 35 | .waitFor();
| ^
36 | }
37 |
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:91:3
|
[chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L35
3) [chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText('Site updated.') to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35
33 | .getByRole( 'button', { name: 'Dismiss this notice' } )
34 | .getByText( 'Site updated.' )
> 35 | .waitFor();
| ^
36 | }
37 |
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:91:3
|
[chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L35
3) [chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText('Site updated.') to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35
33 | .getByRole( 'button', { name: 'Dismiss this notice' } )
34 | .getByText( 'Site updated.' )
> 35 | .waitFor();
| ^
36 | }
37 |
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:91:3
|
[chromium] › site-editor/template-revert.spec.js:100:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L35
4) [chromium] › site-editor/template-revert.spec.js:100:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText('Site updated.') to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35
33 | .getByRole( 'button', { name: 'Dismiss this notice' } )
34 | .getByText( 'Site updated.' )
> 35 | .waitFor();
| ^
36 | }
37 |
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:35:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:109:3
|
Playwright - 2
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
[chromium] › editor/blocks/site-title.spec.js:17:2 › Site Title block › Can edit the site title as admin:
test/e2e/specs/editor/blocks/site-title.spec.js#L40
1) [chromium] › editor/blocks/site-title.spec.js:17:2 › Site Title block › Can edit the site title as admin
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Site Title' })
Expected string: "New Site Title"
Received string: "gutenberg"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Site Title' })
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
38 |
39 | await expect( siteTitleBlock ).toBeVisible();
> 40 | await expect( siteTitleBlock ).toHaveText( 'New Site Title' );
| ^
41 | } );
42 |
43 | // Reason: The current e2e test setup doesn't provide an easy way to switch between user roles.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/site-title.spec.js:40:34
|
[chromium] › editor/blocks/site-title.spec.js:17:2 › Site Title block › Can edit the site title as admin:
test/e2e/specs/editor/blocks/site-title.spec.js#L40
1) [chromium] › editor/blocks/site-title.spec.js:17:2 › Site Title block › Can edit the site title as admin
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Site Title' })
Expected string: "New Site Title"
Received string: "gutenberg"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Site Title' })
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
38 |
39 | await expect( siteTitleBlock ).toBeVisible();
> 40 | await expect( siteTitleBlock ).toHaveText( 'New Site Title' );
| ^
41 | } );
42 |
43 | // Reason: The current e2e test setup doesn't provide an easy way to switch between user roles.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/site-title.spec.js:40:34
|
[chromium] › editor/blocks/site-title.spec.js:17:2 › Site Title block › Can edit the site title as admin:
test/e2e/specs/editor/blocks/site-title.spec.js#L40
1) [chromium] › editor/blocks/site-title.spec.js:17:2 › Site Title block › Can edit the site title as admin
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Site Title' })
Expected string: "New Site Title"
Received string: "gutenberg"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Site Title' })
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
- locator resolved to <h1 tabindex="0" role="document" data-title="Site Ti…>…</h1>
- unexpected value "gutenberg"
38 |
39 | await expect( siteTitleBlock ).toBeVisible();
> 40 | await expect( siteTitleBlock ).toHaveText( 'New Site Title' );
| ^
41 | } );
42 |
43 | // Reason: The current e2e test setup doesn't provide an easy way to switch between user roles.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/site-title.spec.js:40:34
|
Playwright - 2
Process completed with exit code 1.
|
Puppeteer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 6
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playwright - 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright Run Summary
181 passed (8.2m)
|
🎭 Playwright Run Summary
3 skipped
144 passed (8.0m)
|
🎭 Playwright Run Summary
1 skipped
179 passed (9.1m)
|
🎭 Playwright Run Summary
11 skipped
176 passed (9.1m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected
[chromium] › editor/various/multi-entity-saving.spec.js:151:2 › Editor - Multi-entity save flow › Site blocks should save individually
1 skipped
180 passed (9.9m)
|
🎭 Playwright Run Summary
6 failed
[chromium] › site-editor/template-revert.spec.js:29:2 › Template Revert › should delete the template after saving the reverted template
[chromium] › site-editor/template-revert.spec.js:60:2 › Template Revert › should show the original content after revert
[chromium] › site-editor/template-revert.spec.js:79:2 › Template Revert › should show the original content after revert and page reload
[chromium] › site-editor/template-revert.spec.js:100:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar
[chromium] › site-editor/template-revert.spec.js:128:2 › Template Revert › should show the original content after revert, clicking undo then redo in the header toolbar
[chromium] › site-editor/template-revert.spec.js:159:2 › Template Revert › should show the edited content after revert, clicking undo in the header toolbar, save and reload
1 flaky
[chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page, edit template and toggle page template preview
3 skipped
174 passed (9.9m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › editor/blocks/site-title.spec.js:17:2 › Site Title block › Can edit the site title as admin
1 skipped
187 passed (9.6m)
|
🎭 Playwright Run Summary
218 passed (12.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
7.89 MB |
|
flaky-tests-report
Expired
|
939 Bytes |
|