E2E: Fix LOHP theme signup selection#110561
Conversation
Jetpack Cloud Live (direct link)
Automattic for Agencies Live (direct link)
Dashboard Live (dotcom) (direct link)
|
|
This change helps solve intermittent E2E test failures in TeamCity that show up with this error: |
|
Follow-up after an adversarial E2E/CI pass:
Validation passed locally: package unit test, calypso-e2e build, lint on touched files, and the LOHP spec on desktop and mobile against wpcalypso. |
|
Looks like one of the E2E tests has failed. You can fix them following these steps:
|
|
Follow-up from the refreshed TeamCity run: The pixel job exposed one more wait-order issue in the helper. Revalidated locally against
|
Proposed Changes
Why are these changes being made?
The modern logged-out themes card uses a hover overlay with Preview demo and Get started actions. Playwright's click path hovers the image link before clicking it, which can reveal the overlay and let the Preview demo button intercept pointer events. This restores the older CTA-href pattern for this flow and removes the flaky card/image click from the release E2E path.
Testing Instructions
yarn workspace @automattic/calypso-e2e build./node_modules/.bin/eslint --ext .ts --cache packages/calypso-e2e/src/lib/pages/logged-out-home-page.ts packages/calypso-e2e/src/lib/pages/logged-out-themes-page.ts test/e2e/specs/onboarding/signup__with-theme-LOHP.spec.tsgit diff --check--reporter=list.2 passed.Pre-merge Checklist