Remove template-only
mode from editor and edit-post packages
#93956
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
9m 23s
Report to GitHub
3m 42s
Annotations
14 errors and 8 notices
[chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed:
test/e2e/specs/interactivity/directive-on-document.spec.ts#L45
1) [chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('counter')
Expected string: "2"
Received string: "1"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('counter')
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
43 | await expect( counter ).toHaveText( '1' );
44 | await page.keyboard.press( 'ArrowDown' );
> 45 | await expect( counter ).toHaveText( '2' );
| ^
46 | } );
47 | } );
48 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-on-document.spec.ts:45:27
|
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode:
test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L60
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Publish"i]')
============================================================
58 |
59 | // Save changes.
> 60 | await page.click( 'role=button[name="Publish"i]' );
| ^
61 | await page.click( 'role=button[name="Save"i]' );
62 |
63 | // Preview changes.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:60:14
|
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode:
test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L60
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Publish"i]')
============================================================
58 |
59 | // Save changes.
> 60 | await page.click( 'role=button[name="Publish"i]' );
| ^
61 | await page.click( 'role=button[name="Save"i]' );
62 |
63 | // Preview changes.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:60:14
|
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode:
test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L60
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Publish"i]')
============================================================
58 |
59 | // Save changes.
> 60 | await page.click( 'role=button[name="Publish"i]' );
| ^
61 | await page.click( 'role=button[name="Save"i]' );
62 |
63 | // Preview changes.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:60:14
|
[chromium] › editor/various/post-editor-template-mode.spec.js:109:2 › Post Editor Template mode › Allow creating custom block templates in classic themes:
test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L252
2) [chromium] › editor/various/post-editor-template-mode.spec.js:109:2 › Post Editor Template mode › Allow creating custom block templates in classic themes
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Publish"i]')
============================================================
250 |
251 | async saveTemplateWithoutPublishing() {
> 252 | await this.page.click( 'role=button[name="Publish"i]' );
| ^
253 | const editorPublishRegion = this.page.locator(
254 | 'role=region[name="Editor publish"i]'
255 | );
at PostEditorTemplateMode.saveTemplateWithoutPublishing (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:252:19)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:129:32
|
[chromium] › editor/various/post-editor-template-mode.spec.js:109:2 › Post Editor Template mode › Allow creating custom block templates in classic themes:
test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L252
2) [chromium] › editor/various/post-editor-template-mode.spec.js:109:2 › Post Editor Template mode › Allow creating custom block templates in classic themes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Publish"i]')
============================================================
250 |
251 | async saveTemplateWithoutPublishing() {
> 252 | await this.page.click( 'role=button[name="Publish"i]' );
| ^
253 | const editorPublishRegion = this.page.locator(
254 | 'role=region[name="Editor publish"i]'
255 | );
at PostEditorTemplateMode.saveTemplateWithoutPublishing (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:252:19)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:129:32
|
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] › editor/various/post-editor-template-mode.spec.js:109:2 › Post Editor Template mode › Allow creating custom block templates in classic themes:
test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L252
2) [chromium] › editor/various/post-editor-template-mode.spec.js:109:2 › Post Editor Template mode › Allow creating custom block templates in classic themes
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=button[name="Publish"i]')
============================================================
250 |
251 | async saveTemplateWithoutPublishing() {
> 252 | await this.page.click( 'role=button[name="Publish"i]' );
| ^
253 | const editorPublishRegion = this.page.locator(
254 | 'role=region[name="Editor publish"i]'
255 | );
at PostEditorTemplateMode.saveTemplateWithoutPublishing (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:252:19)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:129:32
|
[chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page:
test/e2e/specs/site-editor/pages.spec.js#L29
1) [chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page, edit template and toggle page template preview
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Content' }).getByRole('document', { name: 'Empty block; start writing or type forward slash to choose a block' })
============================================================
27 | name: 'Empty block; start writing or type forward slash to choose a block',
28 | } )
> 29 | .click();
| ^
30 |
31 | // Insert into Page Content using default block.
32 | await editor.canvas
at addPageContent (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:29:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:99:9
|
[chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page:
test/e2e/specs/site-editor/pages.spec.js#L29
1) [chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page, edit template and toggle page template preview
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Content' }).getByRole('document', { name: 'Empty block; start writing or type forward slash to choose a block' })
============================================================
27 | name: 'Empty block; start writing or type forward slash to choose a block',
28 | } )
> 29 | .click();
| ^
30 |
31 | // Insert into Page Content using default block.
32 | await editor.canvas
at addPageContent (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:29:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:99:9
|
Playwright - 5
Process completed with exit code 1.
|
[chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page:
test/e2e/specs/site-editor/pages.spec.js#L29
1) [chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page, edit template and toggle page template preview
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Content' }).getByRole('document', { name: 'Empty block; start writing or type forward slash to choose a block' })
============================================================
27 | name: 'Empty block; start writing or type forward slash to choose a block',
28 | } )
> 29 | .click();
| ^
30 |
31 | // Insert into Page Content using default block.
32 | await editor.canvas
at addPageContent (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:29:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:99:9
|
Playwright - 5
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Playwright - 6
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 skipped
132 passed (6.6m)
|
🎭 Playwright Run Summary
148 passed (7.1m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed
170 passed (7.1m)
|
🎭 Playwright Run Summary
3 skipped
119 passed (7.4m)
|
🎭 Playwright Run Summary
11 skipped
152 passed (7.7m)
|
🎭 Playwright Run Summary
150 passed (7.8m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
[chromium] › editor/various/post-editor-template-mode.spec.js:109:2 › Post Editor Template mode › Allow creating custom block templates in classic themes
1 skipped
143 passed (8.5m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page, edit template and toggle page template preview
2 skipped
147 passed (8.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
540 KB |
|
flaky-tests-report
Expired
|
1.08 KB |
|