Repository navigation
Add PHP Playwright browser tests wiring across the 3 infra stacks - #2056
Draft
katarzynazawada wants to merge 1 commit into
Draft
katarzynazawada wants to merge 1 commit into
katarzynazawada wants to merge 1 commit into
Conversation
Mirrors this repo's existing Behat regression pattern (browser-tests.yml): runs admin-ui's PHP Playwright suite (PHPUnit + in-process Symfony kernel routing) across the same PostgreSQL/Varnish/Redis, MariaDB/Elastic/Valkey, and MySQL/Solr/Redis stacks. dependencies.json pins both ibexa/cohesivo-playwright and ibexa/admin-ui to this PR's own branches — ci-scripts only swaps in ibexa/commerce itself (the repo this workflow runs from), so admin-ui would otherwise come from its normal released version, which doesn't have tests/playwright-tests-php yet. Drop both pins once everything merges. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
Wires
admin-ui's new PHP Playwright test suite (PHPUnit + in-process Symfony kernel routing, an alternative to the TS Playwright approach) into this repo's CI, mirroring the existing Behat regression pattern (browser-tests.yml): the same job runs across all 3 infra stacks —Adds
.github/workflows/playwright-tests.yml, calling the new reusable workflow inibexa/gh-workflowswithtest-package: admin-ui.dependencies.jsonpins bothibexa/cohesivo-playwrightandibexa/admin-uito their PR branches:ci-scriptsonly swaps inibexa/commerceitself (the repo this workflow runs from), soadmin-uiwould otherwise still resolve to its normal released version, which doesn't havetests/playwright-tests-phpyet. Verified locally (reproducedci-scripts' exactjq-based dependency-merge logic) that this correctly overrides the already-presentadmin-uirequirement, not just adds a new one.This is one of 4 related branches (
cohesivo-playwright,gh-workflows,admin-ui,commerce), all onplaywright-php-poc, kept deliberately independent of each other and of any in-flight TS Playwright work:Test plan
actionlintcleandependencies.jsonpackage-override mechanism locally against a toycomposer.jsonreproducing this exact scenario🤖 Generated with Claude Code