Add/fix critical css e2e on interstitial #102662
Annotations
4 errors and 1 notice
Run Jetpack Boost - Modules tests:
projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js#L76
1) [chromium] › specs/modules/modules-common.test.js:34:3 › Modules › The critical_css module state should toggle to an inverse state
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('.jb-feature-toggle-critical_css .components-form-toggle') to be visible
at lib/pages/wp-admin/JetpackBoostPage.js:76
74 | `.jb-feature-toggle-${ moduleName } .components-form-toggle`
75 | );
> 76 | await toggleSwitch.waitFor();
| ^
77 | const classNames = await toggleSwitch.getAttribute( 'class' );
78 |
79 | return classNames.includes( 'is-checked' );
at JetpackBoostPage.isModuleEnabled (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:76:22)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/modules/modules-common.test.js:37:28
|
Run Jetpack Boost - Modules tests:
projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js#L76
1) [chromium] › specs/modules/modules-common.test.js:34:3 › Modules › The critical_css module state should toggle to an inverse state
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('.jb-feature-toggle-critical_css .components-form-toggle') to be visible
at lib/pages/wp-admin/JetpackBoostPage.js:76
74 | `.jb-feature-toggle-${ moduleName } .components-form-toggle`
75 | );
> 76 | await toggleSwitch.waitFor();
| ^
77 | const classNames = await toggleSwitch.getAttribute( 'class' );
78 |
79 | return classNames.includes( 'is-checked' );
at JetpackBoostPage.isModuleEnabled (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:76:22)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/modules/modules-common.test.js:37:28
|
Run Jetpack Boost - Modules tests:
projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js#L76
1) [chromium] › specs/modules/modules-common.test.js:34:3 › Modules › The critical_css module state should toggle to an inverse state
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('.jb-feature-toggle-critical_css .components-form-toggle') to be visible
at lib/pages/wp-admin/JetpackBoostPage.js:76
74 | `.jb-feature-toggle-${ moduleName } .components-form-toggle`
75 | );
> 76 | await toggleSwitch.waitFor();
| ^
77 | const classNames = await toggleSwitch.getAttribute( 'class' );
78 |
79 | return classNames.includes( 'is-checked' );
at JetpackBoostPage.isModuleEnabled (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:76:22)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/modules/modules-common.test.js:37:28
|
Run Jetpack Boost - Modules tests
Process completed with exit code 1.
|
Run Jetpack Boost - Modules tests
1 failed
[chromium] › specs/modules/modules-common.test.js:34:3 › Modules › The critical_css module state should toggle to an inverse state
4 did not run
8 passed (3.4m)
|
Loading