Add GitHub Actions Playwright integration workflow for JA/EN website locale rendering with screenshot artifacts#2925
Merged
Conversation
Agent-Logs-Url: https://github.com/sensuikan1973/pedax/sessions/b671752b-d862-42eb-991d-dd43c6931560 Co-authored-by: sensuikan1973 <23427957+sensuikan1973@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
sensuikan1973
May 4, 2026 14:50
View session
Owner
|
@copilot website integration test について、テスト中に確認した en と ja のページのスクショをその wrokflow の artifacts に入れて欲しい |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2925 +/- ##
=======================================
Coverage 94.13% 94.13%
=======================================
Files 52 52
Lines 1483 1483
=======================================
Hits 1396 1396
Misses 87 87
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Agent-Logs-Url: https://github.com/sensuikan1973/pedax/sessions/d3b24a0c-0c7f-4f12-95a2-ef116bd57001 Co-authored-by: sensuikan1973 <23427957+sensuikan1973@users.noreply.github.com>
Contributor
Author
対応しました。 |
Copilot
AI
changed the title
Add GitHub Actions Playwright integration workflow for JA/EN website locale rendering
Add GitHub Actions Playwright integration workflow for JA/EN website locale rendering with screenshot artifacts
May 4, 2026
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.
This PR adds CI coverage for website localization by verifying that both Japanese and English pages render correctly in GitHub Actions. A new dedicated workflow (
website_integration_test.yaml) builds the Docusaurus site, serves it, runs Playwright assertions against locale-specific routes, and uploads locale page screenshots as workflow artifacts.Workflow: website locale integration test
.github/workflows/website_integration_test.yamlpull_requestchanges underwebsite/**and the workflow filepushtomainfor the same pathsWebsite runtime setup in CI
nodenv/actions/node-version+actions/setup-node)website/yarn serveon127.0.0.1:3000Playwright assertions for JA/EN correctness
/pedax/(default locale: JA)/pedax/en/(EN locale)ja-page.pngen-page.pngArtifacts
actions/upload-artifact@v4website-integration-screenshotsif: always()so screenshots are preserved for debugging