Skip to content

OU-1213: Add 403 permission denied mocking and access denied test#756

Open
DavidRajnoha wants to merge 1 commit intoopenshift:mainfrom
DavidRajnoha:ou-1213-tests
Open

OU-1213: Add 403 permission denied mocking and access denied test#756
DavidRajnoha wants to merge 1 commit intoopenshift:mainfrom
DavidRajnoha:ou-1213-tests

Conversation

@DavidRajnoha
Copy link
Contributor

Add cy.mockPermissionDenied() command to simulate 403 Forbidden responses from rules, silences, and Prometheus query endpoints. Add regression test verifying the Incidents page displays the access denied empty state.

Add cy.mockPermissionDenied() command to simulate 403 Forbidden responses
from rules, silences, and Prometheus query endpoints. Add regression test
verifying the Incidents page displays the access denied empty state.

Co-authored-by: Cursor <cursoragent@cursor.com>
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 9, 2026

@DavidRajnoha: This pull request references OU-1213 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Add cy.mockPermissionDenied() command to simulate 403 Forbidden responses from rules, silences, and Prometheus query endpoints. Add regression test verifying the Incidents page displays the access denied empty state.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 9, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 9, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: DavidRajnoha
Once this PR has been reviewed and has the lgtm label, please assign jgbernalp for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@etmurasaki
Copy link
Contributor

/retest

@DavidRajnoha
Copy link
Contributor Author

/test e2e-incidents

1 similar comment
@DavidRajnoha
Copy link
Contributor Author

/test e2e-incidents

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 11, 2026

@DavidRajnoha: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-incidents 2c7c2f3 link false /test e2e-incidents

Full PR test history. Your PR dashboard.

Details

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants