-
Notifications
You must be signed in to change notification settings - Fork 211
feat: add orchestrator RBAC tests to e2e test suite (release 1.7) #3802
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
base: release-1.7
Are you sure you want to change the base?
feat: add orchestrator RBAC tests to e2e test suite (release 1.7) #3802
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR TypeTests, Enhancement Description
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Tests |
| ||||
| Enhancement |
| ||||
| Configuration changes |
| ||||
| Bug fix |
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||
|
/ok-to-test |
|
/test e2e-ocp-operator-nightly |
|
The image is available at: |
|
/test e2e-ocp-operator-nightly |
1 similar comment
|
/test e2e-ocp-operator-nightly |
acd57b3 to
16561df
Compare
|
/test e2e-ocp-operator-nightly |
16561df to
5614335
Compare
- Refactor orchestrator-rbac.spec.ts to follow rbac.spec.ts pattern - Add positive-only test flow for orchestrator.workflow permissions - Create role with read and update permissions for rhdh-qe user - Add API verification test to confirm role and policies exist - Update UI test to navigate to greeting workflow and click Run button - Add selectGreetingWorkflowItem() helper method to Orchestrator page object - Remove unnecessary deny policy, guest user, and instance permission tests - Fix table selector to work with actual page structure - All tests now pass successfully (4/4 tests passing) Tests verify: 1. Role creation with orchestrator.workflow (read) and orchestrator.workflow.use (update) permissions 2. API verification of created role and policies 3. UI verification that user can access orchestrator and execute greeting workflow 4. Proper cleanup of created roles and policies Signed-off-by: Chad Crum <[email protected]>
5614335 to
8a0328b
Compare
|
The image is available at: |
|
/test e2e-ocp-operator-nightly |
…ty test Increase visibility timeout from 10s to 20s in the test that verifies rhdh-qe-2 admin user can see rhdh-qe's workflow instances in the runs list. The test was occasionally timing out at 10s when checking if the instance link becomes visible after admin login. Test: 'rhdh-qe-2 admin user can see rhdh-qe's workflow instance in runs list'
|
/test e2e-ocp-operator-nightly |
1 similar comment
|
/test e2e-ocp-operator-nightly |
|
@chadcrum: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Description
This PR adds comprehensive orchestrator RBAC tests to the e2e test suite for release 1.7 to ensure proper access control and permissions for orchestrator workflows.
Related JIRA Issue
Changes
e2e-tests/playwright/e2e/plugins/orchestrator/orchestrator-rbac.spec.tsTest Coverage
Testing
Checklist
Note
This PR is the release 1.7 backport of the orchestrator RBAC e2e tests.