AI Assistant: set initial state of AI Assistant feature data at store level #66282
e2e-tests.yml
on: pull_request
Annotations
13 errors and 4 notices
specs/pre-connection/pre-connection.test.js:45:1 › Connect button is displayed on Jetpack page:
tools/e2e-commons/pages/page-actions.js#L183
1) specs/pre-connection/pre-connection.test.js:45:1 › Connect button is displayed on Jetpack page
TimeoutError: page.click: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for locator('#toplevel_page_jetpack .wp-submenu a[href$="admin.php?page=jetpack"]')
============================================================
at ../../../../../tools/e2e-commons/pages/page-actions.js:183
181 | async click( selector, options = {} ) {
182 | logger.action( `Clicking element '${ selector }'` );
> 183 | await this.page.click( selector, options );
| ^
184 | }
185 |
186 | /**
at Sidebar.click (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:183:19)
at Sidebar._selectMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:67:21)
at Sidebar.selectJetpackSubMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:19:10)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/pre-connection/pre-connection.test.js:46:2
|
specs/pre-connection/pre-connection.test.js:45:1 › Connect button is displayed on Jetpack page:
tools/e2e-commons/pages/page-actions.js#L183
1) specs/pre-connection/pre-connection.test.js:45:1 › Connect button is displayed on Jetpack page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for locator('#toplevel_page_jetpack .wp-submenu a[href$="admin.php?page=jetpack"]')
============================================================
at ../../../../../tools/e2e-commons/pages/page-actions.js:183
181 | async click( selector, options = {} ) {
182 | logger.action( `Clicking element '${ selector }'` );
> 183 | await this.page.click( selector, options );
| ^
184 | }
185 |
186 | /**
at Sidebar.click (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:183:19)
at Sidebar._selectMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:67:21)
at Sidebar.selectJetpackSubMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:19:10)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/pre-connection/pre-connection.test.js:46:2
|
Jetpack pre-connection e2e tests
Process completed with exit code 1.
|
specs/connection/connection.test.js:20:1 › Site only connection:
tools/e2e-commons/pages/page-actions.js#L183
1) specs/connection/connection.test.js:20:1 › Site only connection ───────────────────────────────
TimeoutError: page.click: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for locator('#toplevel_page_jetpack .wp-submenu a[href$="admin.php?page=jetpack"]')
============================================================
at ../../../../../tools/e2e-commons/pages/page-actions.js:183
181 | async click( selector, options = {} ) {
182 | logger.action( `Clicking element '${ selector }'` );
> 183 | await this.page.click( selector, options );
| ^
184 | }
185 |
186 | /**
at Sidebar.click (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:183:19)
at Sidebar._selectMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:67:21)
at Sidebar.selectJetpackSubMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:19:10)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:17:2
|
specs/connection/connection.test.js:20:1 › Site only connection:
tools/e2e-commons/pages/page-actions.js#L183
1) specs/connection/connection.test.js:20:1 › Site only connection ───────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for locator('#toplevel_page_jetpack .wp-submenu a[href$="admin.php?page=jetpack"]')
============================================================
at ../../../../../tools/e2e-commons/pages/page-actions.js:183
181 | async click( selector, options = {} ) {
182 | logger.action( `Clicking element '${ selector }'` );
> 183 | await this.page.click( selector, options );
| ^
184 | }
185 |
186 | /**
at Sidebar.click (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:183:19)
at Sidebar._selectMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:67:21)
at Sidebar.selectJetpackSubMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:19:10)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:17:2
|
specs/connection/connection.test.js:36:1 › User connection:
tools/e2e-commons/pages/page-actions.js#L183
2) specs/connection/connection.test.js:36:1 › User connection ────────────────────────────────────
TimeoutError: page.click: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for locator('#toplevel_page_jetpack .wp-submenu a[href$="admin.php?page=jetpack"]')
============================================================
at ../../../../../tools/e2e-commons/pages/page-actions.js:183
181 | async click( selector, options = {} ) {
182 | logger.action( `Clicking element '${ selector }'` );
> 183 | await this.page.click( selector, options );
| ^
184 | }
185 |
186 | /**
at Sidebar.click (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:183:19)
at Sidebar._selectMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:67:21)
at Sidebar.selectJetpackSubMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:19:10)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:17:2
|
specs/connection/connection.test.js:36:1 › User connection:
tools/e2e-commons/pages/page-actions.js#L183
2) specs/connection/connection.test.js:36:1 › User connection ────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for locator('#toplevel_page_jetpack .wp-submenu a[href$="admin.php?page=jetpack"]')
============================================================
at ../../../../../tools/e2e-commons/pages/page-actions.js:183
181 | async click( selector, options = {} ) {
182 | logger.action( `Clicking element '${ selector }'` );
> 183 | await this.page.click( selector, options );
| ^
184 | }
185 |
186 | /**
at Sidebar.click (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:183:19)
at Sidebar._selectMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:67:21)
at Sidebar.selectJetpackSubMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:19:10)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:17:2
|
Jetpack connection e2e tests
Process completed with exit code 1.
|
specs/blocks/pro-blocks.test.js:32:1 › MailChimp block in post editor:
tools/e2e-commons/pages/wp-admin/blocks/mailchimp.js#L92
1) specs/blocks/pro-blocks.test.js:32:1 › MailChimp block in post editor › Connect to MailChimp ──
Error: Mailchimp connection failed after 5 attempts.
Last error: TimeoutError: page.waitForSelector: Timeout 40000ms exceeded.
=========================== logs ===========================
waiting for locator('xpath=//option[contains(text(), \'e2etesting\')]')
============================================================
at ../../../../../tools/e2e-commons/pages/wp-admin/blocks/mailchimp.js:92
90 | logger.error( e );
91 | if ( count > 4 ) {
> 92 | throw new Error(
| ^
93 | `Mailchimp connection failed after ${ count } attempts.\nLast error: ${ e }`
94 | );
95 | }
at MailchimpBlock.connect (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/blocks/mailchimp.js:92:13)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/blocks/pro-blocks.test.js:41:3
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/blocks/pro-blocks.test.js:39:2
|
specs/blocks/pro-blocks.test.js:32:1 › MailChimp block in post editor:
projects/plugins/jetpack/tests/e2e/specs/blocks/pro-blocks.test.js#L1
1) specs/blocks/pro-blocks.test.js:32:1 › MailChimp block in post editor › Connect to MailChimp ──
Test finished within timeout of 300000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
specs/blocks/pro-blocks.test.js:32:1 › MailChimp block in post editor:
tools/e2e-commons/pages/wp-admin/blocks/mailchimp.js#L92
1) specs/blocks/pro-blocks.test.js:32:1 › MailChimp block in post editor › Connect to MailChimp ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Mailchimp connection failed after 5 attempts.
Last error: TimeoutError: page.waitForSelector: Timeout 40000ms exceeded.
=========================== logs ===========================
waiting for locator('xpath=//option[contains(text(), \'e2etesting\')]')
============================================================
at ../../../../../tools/e2e-commons/pages/wp-admin/blocks/mailchimp.js:92
90 | logger.error( e );
91 | if ( count > 4 ) {
> 92 | throw new Error(
| ^
93 | `Mailchimp connection failed after ${ count } attempts.\nLast error: ${ e }`
94 | );
95 | }
at MailchimpBlock.connect (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/blocks/mailchimp.js:92:13)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/blocks/pro-blocks.test.js:41:3
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/blocks/pro-blocks.test.js:39:2
|
specs/blocks/pro-blocks.test.js:32:1 › MailChimp block in post editor:
projects/plugins/jetpack/tests/e2e/specs/blocks/pro-blocks.test.js#L1
1) specs/blocks/pro-blocks.test.js:32:1 › MailChimp block in post editor › Connect to MailChimp ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test finished within timeout of 300000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
Jetpack blocks e2e tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
specs/pre-connection/pre-connection.test.js:45:1 › Connect button is displayed on Jetpack page
2 passed (3.2m)
|
🎭 Playwright Run Summary
2 passed (3.7m)
|
🎭 Playwright Run Summary
2 failed
specs/connection/connection.test.js:20:1 › Site only connection ────────────────────────────────
specs/connection/connection.test.js:36:1 › User connection ─────────────────────────────────────
|
🎭 Playwright Run Summary
1 failed
specs/blocks/pro-blocks.test.js:32:1 › MailChimp block in post editor ──────────────────────────
7 passed (16.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-output-Jetpack blocks
Expired
|
22.3 MB |
|
test-output-Jetpack connection
Expired
|
7.87 MB |
|
test-output-Jetpack post-connection
Expired
|
92.3 KB |
|
test-output-Jetpack pre-connection
Expired
|
1.29 MB |
|