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

Comp Eval-Combine all possible scenarios from api product and api repository #15882

Conversation

vijaysawant
Copy link
Contributor

@vijaysawant vijaysawant commented Aug 7, 2024

Problem Statement

  1. Component audit - SAT-25973 Merge all possible product related scenarios into on test case
    Initially targeted 3 test cases (test_positive_create_with_name, test_positive_create_with_label, test_positive_create_with_description)

Other tests can be merge along with above
test_positive_update_description
test_positive_update_name_to_original
test_positive_delete

test_positive_update_organization need to remove as it has skipped during execution due to BZ-1310422 (Current status CLOSE WONTFIX)

  1. Component audit - SAT-25974 Merge 2 negative scenarios into on test function
    test_negative_create_url
    test_negative_create_with_url_with_special_characters

Solution

  1. commit 1st - New test case name test_positive_product_end_to_end
  2. commit 2nd - New test case name test_negative_create_url_with_invalid_and_special_characters

Related Issues

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/api/test_product.py -k 'test_positive_product_end_to_end'
trigger: test-robottelo
pytest: tests/foreman/api/test_repository.py -k 'test_negative_create_url_with_invalid_and_special_characters'

@vijaysawant vijaysawant added No-CherryPick PR doesnt need CherryPick to previous branches Stream Introduced in or relating directly to Satellite Stream/Master labels Aug 7, 2024
@vijaysawant vijaysawant requested a review from a team as a code owner August 7, 2024 17:48
@vijaysawant
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/api/test_product.py -k 'test_positive_product_end_to_end'

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 8010
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/api/test_product.py -k test_positive_product_end_to_end --external-logging
Test Result : ========== 1 passed, 27 deselected, 36 warnings in 660.33s (0:11:00) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Aug 7, 2024
@vijaysawant vijaysawant requested a review from a team August 8, 2024 08:21
@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Aug 8, 2024
@vijaysawant
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/api/test_repository.py -k 'test_negative_create_url_with_invalid_and_special_characters'

@vijaysawant vijaysawant changed the title Comp Eval-Combine all possible scenarios from api product Comp Eval-Combine all possible scenarios from api product and api repository Aug 8, 2024
@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 8023
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/api/test_repository.py -k test_negative_create_url_with_invalid_and_special_characters --external-logging
Test Result : ========= 8 passed, 161 deselected, 210 warnings in 576.58s (0:09:36) ==========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Aug 8, 2024
@vijaysawant vijaysawant requested a review from a team as a code owner August 8, 2024 10:56
@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Aug 8, 2024
@vijaysawant
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/api/test_repository.py -k 'test_negative_create_url_with_invalid_and_special_characters'

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 8026
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/api/test_repository.py -k test_negative_create_url_with_invalid_and_special_characters --external-logging
Test Result : ========= 161 deselected, 174 warnings, 8 errors in 210.74s (0:03:30) ==========

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

PRT Result

Build Number: 8030
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/api/test_repository.py -k test_negative_create_url_with_invalid_and_special_characters --external-logging
Test Result : ========= 161 deselected, 174 warnings, 8 errors in 206.00s (0:03:26) ==========

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 8034
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/api/test_repository.py -k test_negative_create_url_with_invalid_and_special_characters --external-logging
Test Result : ========= 161 deselected, 174 warnings, 8 errors in 204.42s (0:03:24) ==========

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 8061
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/api/test_repository.py -k test_negative_create_url_with_invalid_and_special_characters --external-logging
Test Result : ========= 8 passed, 161 deselected, 212 warnings in 689.81s (0:11:29) ==========

@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 Aug 9, 2024
@jyejare jyejare merged commit df83568 into SatelliteQE:master Aug 9, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR Stream Introduced in or relating directly to Satellite Stream/Master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants