Skip to content

Commit f62e7ef

Browse files
committed
Build/Test Tools: Remove compare-branches.sh wrapper script.
Simplifies `npm run test:visual` to run Playwright directly instead of routing through a shell script that managed git checkouts and environment setup. The CI workflow already handles automated trunk-vs-branch comparison.
1 parent 11398ed commit f62e7ef

2 files changed

Lines changed: 1 addition & 58 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"test:php": "node ./tools/local-env/scripts/docker.js run --rm php ./vendor/bin/phpunit",
130130
"test:coverage": "npm run test:php -- --coverage-html ./coverage/html/ --coverage-php ./coverage/php/report.php --coverage-text=./coverage/text/report.txt",
131131
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.js",
132-
"test:visual": "bash tests/visual-regression/compare-branches.sh",
132+
"test:visual": "wp-scripts test-playwright --config tests/visual-regression/playwright.config.js",
133133
"typecheck:php": "node ./tools/local-env/scripts/docker.js run --rm php composer phpstan",
134134
"gutenberg:checkout": "node tools/gutenberg/checkout-gutenberg.js",
135135
"gutenberg:build": "node tools/gutenberg/build-gutenberg.js",

tests/visual-regression/compare-branches.sh

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)