Skip to content

e2e tests at push on Automattic/jetpack-search-plugin trunk branch #94429

e2e tests at push on Automattic/jetpack-search-plugin trunk branch

e2e tests at push on Automattic/jetpack-search-plugin trunk branch #94429

Triggered via repository dispatch December 2, 2024 18:01
@matticbotmatticbot
e2e tests at push on Automattic/jetpack-search-plugin trunk branch b7ea553
Status Failure
Total duration 11m 11s
Artifacts 1

e2e-tests.yml

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

Annotations

5 errors, 4 warnings, and 1 notice
specs/search-dashboard.test.js:37:2 › Search Dashboard › Can manage search module and instant search.: projects/plugins/search/tests/e2e/specs/search-dashboard.test.js#L14
1) specs/search-dashboard.test.js:37:2 › Search Dashboard › Can manage search module and instant search. "beforeAll" hook timeout of 300000ms exceeded. 12 | let searchDashboard; 13 | > 14 | test.beforeAll( async ( { browser } ) => { | ^ 15 | const page = await browser.newPage( playwrightConfig.use ); 16 | await clearSearchPlanInfo(); 17 | await prerequisitesBuilder( page ) at /home/runner/work/jetpack/jetpack/projects/plugins/search/tests/e2e/specs/search-dashboard.test.js:14:7
specs/search-dashboard.test.js:37:2 › Search Dashboard › Can manage search module and instant search.: projects/plugins/search/tests/e2e/specs/search-dashboard.test.js#L14
1) specs/search-dashboard.test.js:37:2 › Search Dashboard › Can manage search module and instant search. "beforeAll" hook timeout of 300000ms exceeded. 12 | let searchDashboard; 13 | > 14 | test.beforeAll( async ( { browser } ) => { | ^ 15 | const page = await browser.newPage( playwrightConfig.use ); 16 | await clearSearchPlanInfo(); 17 | await prerequisitesBuilder( page ) at /home/runner/work/jetpack/jetpack/projects/plugins/search/tests/e2e/specs/search-dashboard.test.js:14:7
specs/search-dashboard.test.js:37:2 › Search Dashboard › Can manage search module and instant search.: tools/e2e-commons/helpers/plan-helper.js#L564
1) specs/search-dashboard.test.js:37:2 › Search Dashboard › Can manage search module and instant search. Error: page.reload: Test ended. Call log: - waiting for navigation until "load" - navigated to "https://shaggy-monkey-63.a8c-localtunnel.cyou/wp-admin/admin.php?page=jetpack#/my-plan" at ../../../../../tools/e2e-commons/helpers/plan-helper.js:564 562 | let i = 0; 563 | do { > 564 | await page.reload( { waitFor: 'domcontentloaded' } ); | ^ 565 | // eslint-disable-next-line no-undef, camelcase 566 | fePlan = await page.evaluate( () => Initial_State.siteData.plan.product_slug ); 567 | logger.debug( `PLANS: frontend: ${ fePlan }, backend: ${ bePlan.product_slug }` ); at syncPlanData (/home/runner/work/jetpack/jetpack/tools/e2e-commons/helpers/plan-helper.js:564:14) at syncJetpackPlanData (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/jetpack-connect.js:83:2) at ensurePlan (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:202: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/search/tests/e2e/specs/search-dashboard.test.js:17:3
specs/search.test.js:43:2 › Instant Search › Can perform search with default settings: tools/e2e-commons/pages/page-actions.js#L320
2) specs/search.test.js:43:2 › Instant Search › Can perform search with default settings ───────── 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/search/tests/e2e/specs/search.test.js:21:3
Search e2e tests
Process completed with exit code 1.
Determine tests matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Search e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test report
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slack notification
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 failed specs/search-dashboard.test.js:37:2 › Search Dashboard › Can manage search module and instant search. specs/search.test.js:43:2 › Instant Search › Can perform search with default settings ────────── 3 did not run 1 passed (7.1m)

Artifacts

Produced during runtime
Name Size
test-output-Search
138 KB