Skip to content

e2e tests at push on Automattic/jetpack-production trunk branch #86322

e2e tests at push on Automattic/jetpack-production trunk branch

e2e tests at push on Automattic/jetpack-production trunk branch #86322

Triggered via repository dispatch August 5, 2024 13:42
@matticbotmatticbot
e2e tests at push on Automattic/jetpack-production trunk branch 9708a16
Status Failure
Total duration 9m 2s
Artifacts 4

e2e-tests.yml

on: repository_dispatch
Determine tests matrix
1m 12s
Determine tests matrix
Matrix: build-projects
Matrix: e2e-tests
Test report
2s
Test report
Slack notification
1m 26s
Slack notification
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 4 notices
specs/connection/connection.test.js:20:1 › Site only connection: tools/e2e-commons/pages/page-actions.js#L187
1) specs/connection/connection.test.js:20:1 › Site only connection ─────────────────────────────── TimeoutError: page.click: Timeout 20000ms exceeded. Call log: - waiting for locator('#toplevel_page_jetpack a[href$="admin.php?page=my-jetpack"]') - locator resolved to 2 elements. Proceeding with the first one: <a href="admin.php?page=my-jetpack" class="wp-has-submenu wp-has-current-submenu wp-menu-open menu-top toplevel_page_jetpack menu-top-last">…</a> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - performing click action at ../../../../../tools/e2e-commons/pages/page-actions.js:187 185 | async click( selector, options = {} ) { 186 | logger.action( `Clicking element '${ selector }'` ); > 187 | await this.page.click( selector, options ); | ^ 188 | } 189 | 190 | /** at Sidebar.click (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:187:19) at Sidebar._selectMenuItem (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:67:21) at Sidebar.selectJetpack (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/sidebar.js:12:10) at doSiteLevelConnection (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/jetpack-connect.js:58:2) at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:26:3 at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:25:2
specs/connection/connection.test.js:20:1 › Site only connection: tools/e2e-commons/pages/page-actions.js#L320
1) specs/connection/connection.test.js:20:1 › Site only connection ─────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 20000ms exceeded. Call log: - waiting for locator('#loginform').first() to be visible at ../../../../../tools/e2e-commons/pages/page-actions.js:320 318 | ); 319 | const element = this.page.locator( selector ).first(); > 320 | await element.waitFor( { state, timeout } ); | ^ 321 | return element; 322 | } 323 | at WPLoginPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17) at WPLoginPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21) at WPLoginPage.waitForPage (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:67:16) at Function.init (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-page.js:18:3) at loginToWpSite (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/log-in.js:31:10) at ensureUserIsLoggedIn (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:210:2) at buildPrerequisites (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:99:5) at Object.build (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:68:4) at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:11:2
specs/connection/connection.test.js:36:1 › User connection: tools/e2e-commons/pages/page-actions.js#L320
2) specs/connection/connection.test.js:36:1 › User connection ──────────────────────────────────── TimeoutError: locator.waitFor: Timeout 20000ms exceeded. Call log: - waiting for locator('#loginform').first() to be visible at ../../../../../tools/e2e-commons/pages/page-actions.js:320 318 | ); 319 | const element = this.page.locator( selector ).first(); > 320 | await element.waitFor( { state, timeout } ); | ^ 321 | return element; 322 | } 323 | at WPLoginPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17) at WPLoginPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21) at WPLoginPage.waitForPage (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:67:16) at Function.init (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-page.js:18:3) at loginToWpSite (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/log-in.js:31:10) at ensureUserIsLoggedIn (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:210:2) at buildPrerequisites (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:99:5) at Object.build (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:68:4) at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:11:2
specs/connection/connection.test.js:36:1 › User connection: tools/e2e-commons/pages/page-actions.js#L320
2) specs/connection/connection.test.js:36:1 › User connection ──────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 20000ms exceeded. Call log: - waiting for locator('#loginform').first() to be visible at ../../../../../tools/e2e-commons/pages/page-actions.js:320 318 | ); 319 | const element = this.page.locator( selector ).first(); > 320 | await element.waitFor( { state, timeout } ); | ^ 321 | return element; 322 | } 323 | at WPLoginPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17) at WPLoginPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21) at WPLoginPage.waitForPage (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:67:16) at Function.init (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-page.js:18:3) at loginToWpSite (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/log-in.js:31:10) at ensureUserIsLoggedIn (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:210:2) at buildPrerequisites (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:99:5) at Object.build (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:68:4) at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:11:2
Jetpack connection e2e tests
Process completed with exit code 1.
🎭 Playwright Run Summary
1 passed (38.7s)
🎭 Playwright Run Summary
3 passed (1.5m)
🎭 Playwright Run Summary
2 passed (2.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 ─────────────────────────────────────

Artifacts

Produced during runtime
Name Size
test-output-Jetpack connection Expired
2.36 MB
test-output-Jetpack post-connection Expired
15.5 KB
test-output-Jetpack pre-connection Expired
7.03 KB
test-output-Jetpack sync Expired
13.6 KB