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.16.z] [UI] Test LCE and CV assignment of newly created AK #16897

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #16880

Problem Statement

SAT-28981 introduced a bug when creating a new AK which had Library and Default Content view assigned during its creation, it did not have it assigned after its creation.

Solution

Adding UI automation for this bug that tests that LCE and CV assignment went through.

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/ui/test_activationkey.py -k 'test_positive_new_ak_lce_cv_assignment'
Katello:
    katello: 11191

* Test lce and cv assignment of new AK

* Remove unused module_lce_library

* docstring change

(cherry picked from commit 37a277b)
@Satellite-QE Satellite-QE requested a review from a team as a code owner November 12, 2024 13:02
@Satellite-QE Satellite-QE added 6.16.z Introduced in or relating directly to Satellite 6.16 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Nov 12, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_activationkey.py -k 'test_positive_new_ak_lce_cv_assignment'
Katello:
    katello: 11191

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

PRT Result

Build Number: 9335
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_activationkey.py -k test_positive_new_ak_lce_cv_assignment --external-logging
Test Result : ========== 1 passed, 60 deselected, 72 warnings in 570.78s (0:09:30) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Nov 12, 2024
@Satellite-QE Satellite-QE merged commit 1e37f49 into 6.16.z Nov 12, 2024
17 of 18 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.16.z-37a277b2918e354c562c5c48c20d68c3b8fa4410 branch November 12, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.16.z Introduced in or relating directly to Satellite 6.16 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