Skip to content

Refactor getPostLink props #93213

Refactor getPostLink props

Refactor getPostLink props #93213

Triggered via pull request January 13, 2024 02:48
Status Failure
Total duration 16m 26s
Artifacts 1

end2end-test.yml

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

Annotations

13 errors and 8 notices
[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
Playwright - 6
Process completed with exit code 1.
[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 - 5
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Report to GitHub
Unable to download artifact(s): Artifact not found for name: flaky-tests-report
🎭 Playwright Run Summary
1 skipped 125 passed (6.2m)
🎭 Playwright Run Summary
124 passed (6.7m)
🎭 Playwright Run Summary
163 passed (7.6m)
🎭 Playwright Run Summary
164 passed (6.9m)
🎭 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 114 passed (8.1m)
🎭 Playwright Run Summary
3 skipped 119 passed (7.4m)
🎭 Playwright Run Summary
11 skipped 152 passed (7.7m)
🎭 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 (9.0m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
4.43 MB