e2e tests at push on Automattic/jetpack-production trunk branch #86308
e2e-tests.yml
on: repository_dispatch
Annotations
6 errors and 4 notices
specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow:
projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js#L165
1) specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow ────────────────────────────────────────
Error: Sync queue should be empty [before]
expect(received).toBeTruthy()
Received: false
Call Log:
- Timeout 30000ms exceeded while waiting on the predicate
163 | }
164 | )
> 165 | .toBeTruthy();
| ^
166 | }
167 | } );
168 |
at assertSyncQueueIsEmpty (/home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:165:5)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:37:10
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:36:14
|
specs/post-connection/recommendations.test.js:18:1 › Recommendations (Jetpack Assistant):
tools/e2e-commons/pages/page-actions.js#L320
1) specs/post-connection/recommendations.test.js:18:1 › Recommendations (Jetpack Assistant) ──────
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('[class^=jp-recommendations-]').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 RecommendationsPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at RecommendationsPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at RecommendationsPage.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 /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/post-connection/recommendations.test.js:22:25
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/post-connection/recommendations.test.js:21:2
|
specs/post-connection/recommendations.test.js:18:1 › Recommendations (Jetpack Assistant):
tools/e2e-commons/pages/page-actions.js#L320
1) specs/post-connection/recommendations.test.js:18:1 › Recommendations (Jetpack Assistant) ──────
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/post-connection/recommendations.test.js:8:2
|
specs/post-connection/waf-blocking.test.js:27:2 › WAF Blocking › Block a simple request:
tools/e2e-commons/pages/page-actions.js#L320
2) specs/post-connection/waf-blocking.test.js:27:2 › WAF Blocking › Block a simple request ───────
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/post-connection/waf-blocking.test.js:14:3
|
specs/post-connection/waf-blocking.test.js:27:2 › WAF Blocking › Block a simple request:
tools/e2e-commons/pages/page-actions.js#L320
2) specs/post-connection/waf-blocking.test.js:27:2 › WAF Blocking › Block a simple request ───────
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/post-connection/waf-blocking.test.js:14:3
|
Jetpack post-connection e2e tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 passed (39.7s)
|
🎭 Playwright Run Summary
2 passed (2.3m)
|
🎭 Playwright Run Summary
1 flaky
specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow ─────────────────────────────────────────
2 passed (2.5m)
|
🎭 Playwright Run Summary
2 failed
specs/post-connection/recommendations.test.js:18:1 › Recommendations (Jetpack Assistant) ───────
specs/post-connection/waf-blocking.test.js:27:2 › WAF Blocking › Block a simple request ────────
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-output-Jetpack connection
Expired
|
13 KB |
|
test-output-Jetpack post-connection
Expired
|
1.1 MB |
|
test-output-Jetpack pre-connection
Expired
|
7.02 KB |
|
test-output-Jetpack sync
Expired
|
546 KB |
|