-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat: Introduce GitHub Actions workflow for automated Playwright E2E documentation updates. #25545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…documentation updates and update README.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request introduces automation for Playwright E2E documentation updates through a new GitHub Actions workflow. The workflow runs on manual trigger, generates documentation from test files, detects changes, and automatically creates pull requests when documentation needs updating.
Changes:
- Added a new
workflow_dispatch-triggered GitHub Actions workflow to automate E2E documentation generation and PR creation - Updated the documentation generator README to reflect the new automated workflow approach and removed outdated manual CI instructions
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
.github/workflows/update-playwright-e2e-docs.yml |
New GitHub Actions workflow that installs dependencies, generates E2E docs, detects changes, and creates/updates PRs automatically |
openmetadata-ui/src/main/resources/ui/playwright/doc-generator/README.md |
Updated workflow integration section to document the new automated workflow and simplify manual generation instructions |
akash-jain-10
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the global permissions block under the Github Actions Job space as a best practice of scoping permissions at only the required scope!
🔍 CI failure analysis for ba81a7e: CI failure unrelated to PR changes (workflow + docs only). 12 E2E tests failed due to locator/visibility issues with 99.7% pass rate, indicating test flakiness.IssueThe Root CauseThese failures are unrelated to the PR changes. This PR only modifies:
Neither file affects the runtime behavior of the OpenMetadata application or the Playwright tests themselves. DetailsTest Failure Breakdown (12 failures, 583 passes = 99.7% pass rate): Affected Test Files:
Failure Type:
Test Scenarios:
Flakiness indicators:
Code Review ✅ Approved 1 resolved / 1 findingsWell-structured GitHub Actions workflow with proper branch validation, scoped permissions, and improved error handling for PR creation. No significant issues found. ✅ 1 resolved✅ Quality: PR creation error handling masks all failures
Rules 🎸 2 actions takenGitar Rules
1 rule not applicable. Show all rules by commenting Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
|
playwright is not needed for this PR |



This pull request introduces a new GitHub Actions workflow to automate the generation and updating of Playwright E2E documentation, and updates the relevant documentation to reflect this automation. The workflow ensures that E2E documentation in the
mainbranch is always up to date by generating docs, detecting changes, and opening a pull request automatically if updates are needed.Automation of E2E Documentation Updates:
.github/workflows/update-playwright-e2e-docs.ymlthat installs dependencies, generates E2E docs, detects changes, and automatically creates a pull request to update documentation on themainbranch when needed.Documentation Updates:
README.mdto remove outdated manual CI instructions and describe the new automated workflow, including its trigger, logic, and usage.Summary by Gitar
.nvmrcfile for consistency with project configurationnpx playwright install --with-depsplaywright/docsdirectory only for precise detectionThis will update automatically on new commits.