Skip to content

Refactor getPostLink props #93070

Refactor getPostLink props

Refactor getPostLink props #93070

Triggered via pull request January 12, 2024 01:04
Status Failure
Total duration 19m 13s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
3m 28s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 8 notices
[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:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes: test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L216
2) [chromium] › editor/various/post-editor-template-mode.spec.js:73: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]') ============================================================ 214 | 215 | async saveTemplateWithoutPublishing() { > 216 | await this.page.click( 'role=button[name="Publish"i]' ); | ^ 217 | const editorPublishRegion = this.page.locator( 218 | 'role=region[name="Editor publish"i]' 219 | ); at PostEditorTemplateMode.saveTemplateWithoutPublishing (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:216:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:93:32
[chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes: test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L216
2) [chromium] › editor/various/post-editor-template-mode.spec.js:73: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]') ============================================================ 214 | 215 | async saveTemplateWithoutPublishing() { > 216 | await this.page.click( 'role=button[name="Publish"i]' ); | ^ 217 | const editorPublishRegion = this.page.locator( 218 | 'role=region[name="Editor publish"i]' 219 | ); at PostEditorTemplateMode.saveTemplateWithoutPublishing (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:216:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:93:32
[chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes: test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L216
2) [chromium] › editor/various/post-editor-template-mode.spec.js:73: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]') ============================================================ 214 | 215 | async saveTemplateWithoutPublishing() { > 216 | await this.page.click( 'role=button[name="Publish"i]' ); | ^ 217 | const editorPublishRegion = this.page.locator( 218 | 'role=region[name="Editor publish"i]' 219 | ); at PostEditorTemplateMode.saveTemplateWithoutPublishing (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:216:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:93:32
Playwright - 5
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/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
[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
[chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter: test/e2e/specs/widgets/editing-widgets.spec.js#L1
2) [chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter { code: 'internal_server_error', message: '<p>There has been a critical error on this website.</p><p><a href="https://wordpress.org/documentation/article/faq-troubleshooting/">Learn more about troubleshooting WordPress.</a></p>', data: { status: 500 }, additional_errors: [] }
Playwright - 6
Process completed with exit code 1.
🎭 Playwright Run Summary
124 passed (6.5m)
🎭 Playwright Run Summary
1 skipped 125 passed (6.6m)
🎭 Playwright Run Summary
164 passed (7.1m)
🎭 Playwright Run Summary
163 passed (7.6m)
🎭 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:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes 1 skipped 170 passed (8.6m)
🎭 Playwright Run Summary
11 skipped 152 passed (7.6m)
🎭 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 1 flaky [chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter 2 skipped 113 passed (8.3m)
🎭 Playwright Run Summary
3 skipped 119 passed (7.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
25.1 MB
flaky-tests-report Expired
746 Bytes