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.15.z] [CC Automation] Update API test to use refresh-all and add CLI test for bulk actions #15534

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #15451

Problem Statement

Adds test coverage for: https://bugzilla.redhat.com/show_bug.cgi?id=2126420 / https://issues.redhat.com/browse/SAT-18199

Related Issues

Also updates robottelo CLI to support hammer alternate-content-source bulk actions, and the API test to cover the endpoint added in SatelliteQE/nailgun#1086

PRT test Cases example
trigger: test-robottelo
pytest: tests/foreman/api/test_acs.py -k 'test_positive_run_bulk_actions'

trigger: test-robottelo
pytest: tests/foreman/cli/test_acs.py -k 'test_bulk_actions'

…or bulk actions (#15451)

* Update API test to use refresh-all and add CLI test for bulk

* Add Verifies docstring section

* Update docstring

Co-authored-by: vsedmik <[email protected]>

* Fix docstrings for api and cli

* Newline to robottelo/cli/acs.py

---------

Co-authored-by: vsedmik <[email protected]>
(cherry picked from commit b85cadc)
@Satellite-QE Satellite-QE added the 6.15.z Introduced in or relating directly to Satellite 6.15 label Jun 28, 2024
@Satellite-QE Satellite-QE requested a review from a team as a code owner June 28, 2024 09:46
@Satellite-QE Satellite-QE added Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Jun 28, 2024
@Satellite-QE Satellite-QE requested a review from a team as a code owner June 28, 2024 09:46
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_acs.py -k 'test_bulk_actions'

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

PRT Result

Build Number: 7571
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/cli/test_acs.py -k test_bulk_actions --external-logging
Test Result : ========== 1 passed, 13 deselected, 22 warnings in 700.53s (0:11:40) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Jun 28, 2024
@Satellite-QE Satellite-QE merged commit ff11038 into 6.15.z Jun 28, 2024
17 of 18 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.15.z-b85cadce64c0a8231d31f57db258806b6ca0cc80 branch June 28, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 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