Refactor getPostLink props #93070
Annotations
7 errors and 1 notice
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests
Process completed with exit code 1.
|
Run the tests
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)
|
The logs for this run have expired and are no longer available.
Loading