Update Eslint packages #81987
Annotations
7 errors and 1 notice
tools/e2e-commons/pages/page-actions.js#L315
1) specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow › Publish a post ───────────────────────
Error: locator.waitFor: Error: strict mode violation: locator('.post-publish-panel__postpublish-buttons a') resolved to 3 elements:
1) <a class="components-button is-primary" href="https…>View Post</a> aka getByLabel('Editor publish').getByRole('link', { name: 'View Post' })
2) <a href="post-new.php?post_type=post" class="compon…>Add New Post</a> aka getByRole('link', { name: 'Add New Post' })
3) <a target="_top" class="components-button is-second…>Blaze this post</a> aka getByText('Blaze this post')
Call log:
- waiting for locator('.post-publish-panel__postpublish-buttons a') to be visible
at ../../../../../tools/e2e-commons/pages/page-actions.js:315
313 | );
314 | const element = this.page.locator( selector );
> 315 | await element.waitFor( { state, timeout } );
| ^
316 | return element;
317 | }
318 |
at BlockEditorPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:315:17)
at BlockEditorPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at BlockEditorPage.publishPost (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/block-editor.js:103:14)
at publishPost (/home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:138:3)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:53:4
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:52:3
|
tools/e2e-commons/pages/page-actions.js#L315
1) specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow › Publish a post ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Error: strict mode violation: locator('.post-publish-panel__postpublish-buttons a') resolved to 3 elements:
1) <a class="components-button is-primary" href="https…>View Post</a> aka getByLabel('Editor publish').getByRole('link', { name: 'View Post' })
2) <a href="post-new.php?post_type=post" class="compon…>Add New Post</a> aka getByRole('link', { name: 'Add New Post' })
3) <a target="_top" class="components-button is-second…>Blaze this post</a> aka getByText('Blaze this post')
Call log:
- waiting for locator('.post-publish-panel__postpublish-buttons a') to be visible
at ../../../../../tools/e2e-commons/pages/page-actions.js:315
313 | );
314 | const element = this.page.locator( selector );
> 315 | await element.waitFor( { state, timeout } );
| ^
316 | return element;
317 | }
318 |
at BlockEditorPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:315:17)
at BlockEditorPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at BlockEditorPage.publishPost (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/block-editor.js:103:14)
at publishPost (/home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:138:3)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:53:4
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:52:3
|
tools/e2e-commons/pages/page-actions.js#L315
2) specs/sync/sync.test.js:74:2 › Sync › Disabled Sync Flow › Publish a post ─────────────────────
Error: locator.waitFor: Error: strict mode violation: locator('.post-publish-panel__postpublish-buttons a') resolved to 2 elements:
1) <a class="components-button is-primary" href="https…>View Post</a> aka getByLabel('Editor publish').getByRole('link', { name: 'View Post' })
2) <a href="post-new.php?post_type=post" class="compon…>Add New Post</a> aka getByRole('link', { name: 'Add New Post' })
Call log:
- waiting for locator('.post-publish-panel__postpublish-buttons a') to be visible
at ../../../../../tools/e2e-commons/pages/page-actions.js:315
313 | );
314 | const element = this.page.locator( selector );
> 315 | await element.waitFor( { state, timeout } );
| ^
316 | return element;
317 | }
318 |
at BlockEditorPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:315:17)
at BlockEditorPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at BlockEditorPage.publishPost (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/block-editor.js:103:14)
at publishPost (/home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:138:3)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:83:4
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:82:3
|
tools/e2e-commons/pages/page-actions.js#L315
2) specs/sync/sync.test.js:74:2 › Sync › Disabled Sync Flow › Publish a post ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Error: strict mode violation: locator('.post-publish-panel__postpublish-buttons a') resolved to 2 elements:
1) <a class="components-button is-primary" href="https…>View Post</a> aka getByLabel('Editor publish').getByRole('link', { name: 'View Post' })
2) <a href="post-new.php?post_type=post" class="compon…>Add New Post</a> aka getByRole('link', { name: 'Add New Post' })
Call log:
- waiting for locator('.post-publish-panel__postpublish-buttons a') to be visible
at ../../../../../tools/e2e-commons/pages/page-actions.js:315
313 | );
314 | const element = this.page.locator( selector );
> 315 | await element.waitFor( { state, timeout } );
| ^
316 | return element;
317 | }
318 |
at BlockEditorPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:315:17)
at BlockEditorPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at BlockEditorPage.publishPost (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/block-editor.js:103:14)
at publishPost (/home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:138:3)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:83:4
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:82:3
|
tools/e2e-commons/pages/page-actions.js#L315
3) specs/sync/sync.test.js:102:2 › Sync › Dedicated Sync Flow › Publish a post ───────────────────
Error: locator.waitFor: Error: strict mode violation: locator('.post-publish-panel__postpublish-buttons a') resolved to 3 elements:
1) <a class="components-button is-primary" href="https…>View Post</a> aka getByLabel('Editor publish').getByRole('link', { name: 'View Post' })
2) <a href="post-new.php?post_type=post" class="compon…>Add New Post</a> aka getByRole('link', { name: 'Add New Post' })
3) <a target="_top" class="components-button is-second…>Blaze this post</a> aka getByText('Blaze this post')
Call log:
- waiting for locator('.post-publish-panel__postpublish-buttons a') to be visible
at ../../../../../tools/e2e-commons/pages/page-actions.js:315
313 | );
314 | const element = this.page.locator( selector );
> 315 | await element.waitFor( { state, timeout } );
| ^
316 | return element;
317 | }
318 |
at BlockEditorPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:315:17)
at BlockEditorPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at BlockEditorPage.publishPost (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/block-editor.js:103:14)
at publishPost (/home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:138:3)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:111:4
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:110:3
|
tools/e2e-commons/pages/page-actions.js#L315
3) specs/sync/sync.test.js:102:2 › Sync › Dedicated Sync Flow › Publish a post ───────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Error: strict mode violation: locator('.post-publish-panel__postpublish-buttons a') resolved to 3 elements:
1) <a class="components-button is-primary" href="https…>View Post</a> aka getByLabel('Editor publish').getByRole('link', { name: 'View Post' })
2) <a href="post-new.php?post_type=post" class="compon…>Add New Post</a> aka getByRole('link', { name: 'Add New Post' })
3) <a target="_top" class="components-button is-second…>Blaze this post</a> aka getByText('Blaze this post')
Call log:
- waiting for locator('.post-publish-panel__postpublish-buttons a') to be visible
at ../../../../../tools/e2e-commons/pages/page-actions.js:315
313 | );
314 | const element = this.page.locator( selector );
> 315 | await element.waitFor( { state, timeout } );
| ^
316 | return element;
317 | }
318 |
at BlockEditorPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:315:17)
at BlockEditorPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at BlockEditorPage.publishPost (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/block-editor.js:103:14)
at publishPost (/home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:138:3)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:111:4
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:110:3
|
|
|
This job failed
Loading