chore(e2e): Add workflow for running admin ui tests#6525
Open
chore(e2e): Add workflow for running admin ui tests#6525
Conversation
c91b295 to
c5ab4b0
Compare
45f0e5f to
cfeb66c
Compare
moduli
commented
Mar 26, 2026
Collaborator
Author
There was a problem hiding this comment.
The UI Version needed to be updated to include some e2e test changes in boundary-ui
ab61abb to
086dce9
Compare
086dce9 to
cc30659
Compare
There was a problem hiding this comment.
Pull request overview
Adds a reusable GitHub Actions workflow to provision Enos UI test infrastructure and run Boundary Admin UI Playwright e2e tests against CI-built artifacts (intended for release-branch validation).
Changes:
- Introduces a new reusable workflow (
enos-run-admin-ui.yml) that launches Enos UI scenarios and runs Admin UI e2e tests from theboundary-uirepo at the embedded UI SHA. - Wires the new workflow into the main
build.ymlpipeline for release branches. - Refactors Enos UI e2e scenario/module plumbing to stop running UI tests inside the Terraform module and instead use it to expose environment variables for the external test runner.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| internal/ui/VERSION | Updates the embedded UI commit SHA used by Boundary. |
| enos/modules/test_e2e_ui/main.tf | Removes local test execution wiring; module now effectively only publishes env vars via state. |
| enos/enos-scenario-e2e-ui-docker.hcl | Drops now-unused variables previously required to run UI tests from local paths. |
| enos/enos-scenario-e2e-ui-aws.hcl | Drops now-unused variables previously required to run UI tests from local paths. |
| .github/workflows/enos-run-admin-ui.yml | Adds reusable workflow to provision infra, checkout boundary-ui, and run Playwright Admin UI e2e tests. |
| .github/workflows/build.yml | Adds e2e-admin-ui job that calls the new reusable workflow on release branches. |
Comments suppressed due to low confidence (1)
enos/modules/test_e2e_ui/main.tf:244
enos_local_exec.run_e2e_testis now hardcoded to run an empty inline command, which means this module no longer executes the UI e2e tests andtest_resultswill always be empty. If the intent is to move test execution fully into GitHub Actions, consider renaming/adjusting the module output (or adding a flag) so consumers don’t assume this step actually runs tests.
inline = [""]
}
output "test_results" {
value = enos_local_exec.run_e2e_test.stdout
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d9e0c25 to
6976fa6
Compare
wongtonyb
approved these changes
Apr 9, 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.
Description
This PR adds a workflow to run Admin UI e2e tests against the binary built in CI. This is to assist with release testing.
Here's an example run: https://github.com/hashicorp/boundary/actions/runs/23872207204/job/69607768896 (I modified the trigger rules in this run to trigger on PR changes, but the workflow is intended to only trigger on release branches).
https://hashicorp.atlassian.net/browse/ICU-18378
PCI review checklist
Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.