Replace Cypress with Playwright in deploy-and-test workflow - #1121
Draft
GiuseppeArcifa wants to merge 13 commits into
Draft
Replace Cypress with Playwright in deploy-and-test workflow#1121GiuseppeArcifa wants to merge 13 commits into
GiuseppeArcifa wants to merge 13 commits into
Conversation
GiuseppeArcifa
temporarily deployed
to
github-pages
March 26, 2026 12:45 — with
GitHub Actions
Inactive
Contributor
🎮 WordPress Playground PreviewThis spins up a fresh WordPress-in-browser, installs this PR's plugin build, and drops you straight into the Bluehost screen. Preview Details
⚠ Every new commit / comment on this PR overwrites the preview ZIP for this PR number. |
Contributor
|
Coverage: Base 25.7% → PR 25.7% (must not decrease). |
GiuseppeArcifa
temporarily deployed
to
github-pages
March 26, 2026 12:49 — with
GitHub Actions
Inactive
GiuseppeArcifa
temporarily deployed
to
github-pages
March 26, 2026 12:54 — with
GitHub Actions
Inactive
GiuseppeArcifa
had a problem deploying
to
bluehost-shared
March 26, 2026 12:55 — with
GitHub Actions
Failure
GiuseppeArcifa
temporarily deployed
to
github-pages
March 26, 2026 13:05 — with
GitHub Actions
Inactive
GiuseppeArcifa
had a problem deploying
to
bluehost-shared
March 26, 2026 13:11 — with
GitHub Actions
Failure
GiuseppeArcifa
temporarily deployed
to
github-pages
March 30, 2026 11:38 — with
GitHub Actions
Inactive
GiuseppeArcifa
had a problem deploying
to
bluehost-shared
March 30, 2026 11:38 — with
GitHub Actions
Failure
GiuseppeArcifa
temporarily deployed
to
github-pages
March 30, 2026 11:55 — with
GitHub Actions
Inactive
GiuseppeArcifa
had a problem deploying
to
bluehost-shared
March 30, 2026 11:55 — with
GitHub Actions
Failure
GiuseppeArcifa
temporarily deployed
to
github-pages
March 30, 2026 12:08 — with
GitHub Actions
Inactive
GiuseppeArcifa
temporarily deployed
to
github-pages
March 30, 2026 21:35 — with
GitHub Actions
Inactive
GiuseppeArcifa
had a problem deploying
to
bluehost-shared
March 30, 2026 21:35 — with
GitHub Actions
Failure
* develop: (283 commits) Composer(deps): Bump newfold-labs/wp-module-mcp from 1.7.4 to 1.7.5 NPM(deps): Bump @wordpress/api-fetch from 7.48.1 to 7.51.0 NPM Dev(deps-dev): Bump @wordpress/scripts from 32.2.0 to 33.0.0 Composer(deps): Bump newfold-labs/wp-module-ai-chat from 1.1.5 to 1.1.6 Composer(deps): Bump newfold-labs/wp-module-next-steps Composer(deps): Bump newfold-labs/wp-module-onboarding-data Composer Dev(deps-dev): Bump wp-phpunit/wp-phpunit from 7.0.1 to 7.0.2 NPM(deps): Bump html-react-parser from 6.1.2 to 6.1.5 NPM(deps): Bump @wordpress/components from 33.1.0 to 37.0.0 Composer Dev(deps-dev): Bump johnpbloch/wordpress from 7.0.1 to 7.0.2 NPM(deps): Bump @wordpress/url from 4.50.0 to 4.51.0 Composer(deps): Bump newfold-labs/wp-module-activation Use --skip-plugins when checking/deactivating dependent plugins update coming soon and ecom moudles - to use new e2e helpers for woo Fold WooCommerce install/uninstall helper into newfold.mjs Add shared WooCommerce install/uninstall test helper GitHub Actions(deps): Bump actions/checkout from 7.0.0 to 7.0.1 validate composer lock file 🤖 prep for release - 4.17.1 → 4.17.2 bump newfold-labs/wp-module-onboarding-data ... # Conflicts: # .github/workflows/deploy-and-test.yml # tests/playwright/global-setup.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
deploy-and-test.ymlfrom Cypress to Playwright.BASE_URLand to skipglobalSetupwhen targeting an external environment.Type of Change
.github/workflows/deploy-and-test.yml:CYPRESS_TEST_PATHwithPLAYWRIGHT_TEST_SPEC(tests/playwright/specs/help.spec.js).npx playwright install --with-deps chromiumnpx playwright test ${{ env.PLAYWRIGHT_TEST_SPEC }} --reporter=linetests/playwright/test-results/playwright.config.mjs:baseURLnow usesprocess.env.BASE_URLwhen provided, with localhost fallback.globalSetupis disabled whenBASE_URLis set, so remote runs do not executewp-envsetup commands.Why
wp-envassumptions during CI deploy validation.Testing
deploy-and-test.ymlviaworkflow_dispatchand confirm:${{ vars.SITE_URL }},Production
Development
Visual
Checklist
Further comments