Use npx for Playwright browser installation in CI workflow#29
Merged
Conversation
Owner
|
The better solution would be to change the CI workflow to use npx playwright install --with-deps chromium instead of the Maven approach, since: |
Co-authored-by: macintorsten <18098382+macintorsten@users.noreply.github.com>
Owner
|
@copilot Can you adjust and use npx and is done in .devcontainer |
Copilot
AI
changed the title
[WIP] Add exec-maven-plugin configuration for Playwright
Add exec-maven-plugin for Playwright CLI browser installation
Dec 20, 2025
- Remove exec-maven-plugin from pom.xml (not needed) - Update CI workflow to use npx playwright install (matches devcontainer approach) - This avoids Maven classloading issues and aligns with existing Node.js setup Co-authored-by: macintorsten <18098382+macintorsten@users.noreply.github.com>
Contributor
Author
Done! Changed to use |
Copilot
AI
changed the title
Add exec-maven-plugin for Playwright CLI browser installation
Use npx for Playwright browser installation in CI workflow
Dec 20, 2025
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.
CI workflow fails at Playwright browser installation step. This PR fixes the issue by using
npxto install Playwright browsers, aligning with the devcontainer approach.Changes
npx playwright install --with-deps chromium.devcontainer/devcontainer.json:15Why This Approach
This unblocks the CI step at
.github/workflows/ci.yml:36that installs Chromium for frontend E2E tests.Original prompt
This pull request was created from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.