[6.15.z] Updates for CV component eval #15238
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cherrypick of PR: #15043
Problem Statement
CV component eval proposes several changes to be done for content view tests.
Solution
This PR addresses some of them, mostly merges and some minor modifications. In particular:
test_positive_remove_cv_version_from_env
is merged withtest_positive_remove_cv_version_from_multi_env
test_positive_promote_with_docker_repo_composite
is merged withtest_positive_promote_multiple_with_docker_repo_composite
test_positive_add_custom_repo_by_name
is parametrized for adding repo byid
and incorrect BZ reference is removedtest_negative_update_with_name
another test case where incorrect BZ reference is removedtest_positive_arbitrary_file_sync_over_capsule
is removed since it is already implemented in test_positive_sync_file_repotest_positive_restart_dynflow_publish
andtest_positive_restart_dynflow_promote
are removed since they represent obsolete workflows nowadaysPRT test Cases example
trigger: test-robottelo
pytest: tests/foreman/cli/test_contentview.py -k 'test_positive_add_custom_repo_by or test_positive_remove_cv_version_from_multi_env and not capsule'