-
Notifications
You must be signed in to change notification settings - Fork 2k
E2E Tests: Fix the starter page modal may not be shown because the theme doesn't have starter patterns #102707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…eme doesn't have starter patterns
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
|
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
But how exactly? We need to click / dismiss the modal (e.g. we can't ignore the modal), otherwise we can't complete the |
fushar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GUTENBERG_EDGE=true yarn workspace wp-e2e-tests test -- test/e2e/specs/editor/editor__page-basic-flow.ts
PASS specs/editor/editor__page-basic-flow.ts (27.182 s)
Editor: Basic Page Flow
✓ Visit Pages page (1284 ms)
✓ Start a new page (5740 ms)
✓ Select page template (5285 ms)
✓ Template content loads into editor (86 ms)
✓ Open setting sidebar (70 ms)
✓ Set custom URL slug (566 ms)
✓ Close settings sidebar (44 ms)
✓ Publish page (4896 ms)
✓ Published URL contains the custom URL slug (1 ms)
✓ Published page contains template content (9 ms)
anomiex
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ✔️
yarn workspace wp-e2e-tests build && VIEWPORT_NAME="desktop" ATOMIC_VARIATION="default" TEST_ON_ATOMIC="true" JETPACK_TARGET="wpcom-deployment" yarn workspace wp-e2e-tests test test/e2e/specs/editor/editor__page-basic-flow.ts - ✔️
yarn workspace wp-e2e-tests build && VIEWPORT_NAME="desktop" ATOMIC_VARIATION="private" TEST_ON_ATOMIC="true" JETPACK_TARGET="wpcom-deployment" yarn workspace wp-e2e-tests test test/e2e/specs/editor/editor__page-basic-flow.ts - ✔️
yarn workspace wp-e2e-tests build && VIEWPORT_NAME="desktop" ATOMIC_VARIATION="ecomm-plan" TEST_ON_ATOMIC="true" JETPACK_TARGET="wpcom-deployment" yarn workspace wp-e2e-tests test test/e2e/specs/editor/editor__page-basic-flow.ts - ✔️
yarn workspace wp-e2e-tests build && VIEWPORT_NAME="desktop" ATOMIC_VARIATION="wp-previous" TEST_ON_ATOMIC="true" JETPACK_TARGET="wpcom-deployment" yarn workspace wp-e2e-tests test test/e2e/specs/editor/editor__page-basic-flow.ts - ✔️
yarn workspace wp-e2e-tests build && VIEWPORT_NAME="mobile" ATOMIC_VARIATION="default" TEST_ON_ATOMIC="true" JETPACK_TARGET="wpcom-deployment" yarn workspace wp-e2e-tests test test/e2e/specs/editor/editor__page-basic-flow.ts - ✔️
yarn workspace wp-e2e-tests build && VIEWPORT_NAME="mobile" ATOMIC_VARIATION="private" TEST_ON_ATOMIC="true" JETPACK_TARGET="wpcom-deployment" yarn workspace wp-e2e-tests test test/e2e/specs/editor/editor__page-basic-flow.ts - ✔️
yarn workspace wp-e2e-tests build && VIEWPORT_NAME="mobile" ATOMIC_VARIATION="ecomm-plan" TEST_ON_ATOMIC="true" JETPACK_TARGET="wpcom-deployment" yarn workspace wp-e2e-tests test test/e2e/specs/editor/editor__page-basic-flow.ts - ✔️
yarn workspace wp-e2e-tests build && VIEWPORT_NAME="mobile" ATOMIC_VARIATION="wp-previous" TEST_ON_ATOMIC="true" JETPACK_TARGET="wpcom-deployment" yarn workspace wp-e2e-tests test test/e2e/specs/editor/editor__page-basic-flow.ts - ✔️
yarn workspace wp-e2e-tests build && VIEWPORT_NAME="desktop" JETPACK_TARGET="wpcom-deployment" yarn workspace wp-e2e-tests test test/e2e/specs/editor/editor__page-basic-flow.ts - ✔️
yarn workspace wp-e2e-tests build && VIEWPORT_NAME="mobile" JETPACK_TARGET="wpcom-deployment" yarn workspace wp-e2e-tests test test/e2e/specs/editor/editor__page-basic-flow.ts
Seems to not break stuff for Jetpack tests.
|
Thanks for helping to check jetpack tests 🙂 |
|
@arthur791004 It seems I screwed up my checks earlier. 🤦 Turns out this does break the tests with Jetpack on WoA. |
|
Looks like all that's needed to fix it is to bring back the logic like |
|
Well, for desktop. Mobile still fails. Although we don't seem to run a mobile check for WoA. |
|
For the record: #102743 |
Related to WordPress/gutenberg#69081, #101265
Proposed Changes
Why are these changes being made?
Testing Instructions
Select page templatetest case should pass successfullyPre-merge Checklist