Fix a case where wp_rand is undefined. #90576
Annotations
1 error and 1 notice
tools/e2e-commons/pages/page-actions.js#L320
1) specs/page-cache/page-cache.test.js:88:2 › Cache module › Page Cache meta information should show on the admin when the module is active
TimeoutError: locator.waitFor: Timeout 180000ms exceeded.
Call log:
- waiting for locator('[data-testid="page-cache-meta"]').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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at JetpackBoostPage.waitForPageCacheMetaInfoVisibility (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:135:15)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/page-cache/page-cache.test.js:97:27
|
|
This job succeeded
Loading