[Editor]: Move Post Status to editor package #99645
Annotations
11 errors, 1 warning, and 1 notice
Run the tests:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
1) [chromium] › editor/various/publish-panel.spec.js:36:2 › Post publish panel › should move focus back to the Publish panel toggle button after publishing and closing the panel
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34
32 | .getByRole( 'button', { name: 'Dismiss this notice' } )
33 | .filter( { hasText: 'published' } )
> 34 | .waitFor();
| ^
35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' );
36 |
37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null;
at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:46:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
1) [chromium] › editor/various/publish-panel.spec.js:36:2 › Post publish panel › should move focus back to the Publish panel toggle button after publishing and closing the panel
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34
32 | .getByRole( 'button', { name: 'Dismiss this notice' } )
33 | .filter( { hasText: 'published' } )
> 34 | .waitFor();
| ^
35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' );
36 |
37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null;
at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:46:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
1) [chromium] › editor/various/publish-panel.spec.js:36:2 › Post publish panel › should move focus back to the Publish panel toggle button after publishing and closing the panel
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34
32 | .getByRole( 'button', { name: 'Dismiss this notice' } )
33 | .filter( { hasText: 'published' } )
> 34 | .waitFor();
| ^
35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' );
36 |
37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null;
at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:46:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
2) [chromium] › editor/various/publish-panel.spec.js:80:2 › Post publish panel › should focus on the post list after publishing
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34
32 | .getByRole( 'button', { name: 'Dismiss this notice' } )
33 | .filter( { hasText: 'published' } )
> 34 | .waitFor();
| ^
35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' );
36 |
37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null;
at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:87:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
2) [chromium] › editor/various/publish-panel.spec.js:80:2 › Post publish panel › should focus on the post list after publishing
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34
32 | .getByRole( 'button', { name: 'Dismiss this notice' } )
33 | .filter( { hasText: 'published' } )
> 34 | .waitFor();
| ^
35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' );
36 |
37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null;
at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:87:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
2) [chromium] › editor/various/publish-panel.spec.js:80:2 › Post publish panel › should focus on the post list after publishing
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible
at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34
32 | .getByRole( 'button', { name: 'Dismiss this notice' } )
33 | .filter( { hasText: 'published' } )
> 34 | .waitFor();
| ^
35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' );
36 |
37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null;
at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:87:3
|
Run the tests:
test/e2e/specs/editor/various/publishing.spec.js#L121
3) [chromium] › editor/various/publishing.spec.js:84:4 › Publishing › a post with pre-publish checks disabled › should publish the post without opening the post-publish sidebar
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' })
119 | .getByRole( 'button', { name: 'Dismiss this notice' } )
120 | .filter( { hasText: 'published' } )
> 121 | ).toBeVisible();
| ^
122 | } );
123 | } );
124 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publishing.spec.js:121:7
|
Run the tests:
test/e2e/specs/editor/various/publishing.spec.js#L121
3) [chromium] › editor/various/publishing.spec.js:84:4 › Publishing › a post with pre-publish checks disabled › should publish the post without opening the post-publish sidebar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' })
119 | .getByRole( 'button', { name: 'Dismiss this notice' } )
120 | .filter( { hasText: 'published' } )
> 121 | ).toBeVisible();
| ^
122 | } );
123 | } );
124 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publishing.spec.js:121:7
|
Run the tests:
test/e2e/specs/editor/various/publishing.spec.js#L121
3) [chromium] › editor/various/publishing.spec.js:84:4 › Publishing › a post with pre-publish checks disabled › should publish the post without opening the post-publish sidebar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' })
119 | .getByRole( 'button', { name: 'Dismiss this notice' } )
120 | .filter( { hasText: 'published' } )
> 121 | ).toBeVisible();
| ^
122 | } );
123 | } );
124 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publishing.spec.js:121:7
|
Run the tests:
test/e2e/specs/editor/various/publishing.spec.js#L121
4) [chromium] › editor/various/publishing.spec.js:84:4 › Publishing › a page with pre-publish checks disabled › should publish the page without opening the post-publish sidebar
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' })
119 | .getByRole( 'button', { name: 'Dismiss this notice' } )
120 | .filter( { hasText: 'published' } )
> 121 | ).toBeVisible();
| ^
122 | } );
123 | } );
124 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publishing.spec.js:121:7
|
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
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/.
|
Run the tests
12 failed
[chromium] › editor/various/publish-panel.spec.js:36:2 › Post publish panel › should move focus back to the Publish panel toggle button after publishing and closing the panel
[chromium] › editor/various/publish-panel.spec.js:80:2 › Post publish panel › should focus on the post list after publishing
[chromium] › editor/various/publishing.spec.js:84:4 › Publishing › a post with pre-publish checks disabled › should publish the post without opening the post-publish sidebar
[chromium] › editor/various/publishing.spec.js:84:4 › Publishing › a page with pre-publish checks disabled › should publish the page without opening the post-publish sidebar
[chromium] › editor/various/sidebar-permalink.spec.js:21:2 › Sidebar Permalink › should not render URL when post is publicly queryable but not public
[chromium] › editor/various/sidebar-permalink.spec.js:41:2 › Sidebar Permalink › should not render URL when post is public but not publicly queryable
[chromium] › editor/various/sidebar-permalink.spec.js:61:2 › Sidebar Permalink › should render URL when post is public and publicly queryable
[chromium] › editor/various/taxonomies.spec.js:16:2 › Taxonomies › should be able to open the categories panel and create a new main category
[chromium] › editor/various/taxonomies.spec.js:64:2 › Taxonomies › should be able to open the tags panel and create a new tag
[chromium] › editor/various/taxonomies.spec.js:101:2 › Taxonomies › should be able to create a new tag with ' on the name
[chromium] › editor/various/undo.spec.js:383:2 › undo › should not create undo levels when publishing
[chromium] › editor/various/undo.spec.js:436:2 › undo › should be able to undo and redo when transient changes have been made and we update/publish
169 passed (15.4m)
|
The logs for this run have expired and are no longer available.
Loading