Skip to content
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

[6.13.z] Modify test_positive_ansible_custom_role to cover non-admin user scenario #15262

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #15163

Problem Statement

Currently, test_positive_ansible_custom_role covers only admin scenario, and as part of component audit its suggest to modify this test to cover non-admin user scenario

Solution

Parametrizing the existing test to cover both admin and non-admin user scenarios with few more changes

…ario (#15163)

Modify test_positive_ansible_custom_role to cover non-admin scenario

Signed-off-by: Gaurav Talreja <[email protected]>
(cherry picked from commit 9f38177)
@Satellite-QE Satellite-QE added 6.13.z Introduced in or relating directly to Satellite 6.13 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels May 31, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_ansible.py::TestAnsibleREX::test_positive_ansible_custom_role

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label May 31, 2024
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 7237
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_ansible.py::TestAnsibleREX::test_positive_ansible_custom_role --external-logging
Test Result : ======= 1 failed, 1 passed, 136 warnings, 1 error in 1561.14s (0:26:01) ========

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label May 31, 2024
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 7240
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_ansible.py::TestAnsibleREX::test_positive_ansible_custom_role --external-logging
Test Result : ================= 2 passed, 139 warnings in 1690.38s (0:28:10) =================

@Satellite-QE Satellite-QE added PRT-Passed Indicates that latest PRT run is passed for the PR and removed PRT-Failed Indicates that latest PRT run is failed for the PR labels May 31, 2024
@Satellite-QE Satellite-QE merged commit 3019f24 into 6.13.z May 31, 2024
19 of 22 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.13.z-9f38177e1ee0116abb401a9a1ac3aa7614210904 branch May 31, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.13.z Introduced in or relating directly to Satellite 6.13 Auto_Cherry_Picked Automatically cherrypicked PR using GHA AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants