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

merged api test product scenarios #15749

Conversation

vijaysawant
Copy link
Contributor

Problem Statement

Component audit - SAT-23547
Merge 4 related scenarios

Solution

- Scenario 1: 
    - test_positive_update_gpg
    - test_positive_create_with_gpg
    - new name: test_positive_create_product_and_update_gpg
- Scenario 2:
    - test_positive_update_name_to_original
    - test_positive_update_name

Related Issues

NA

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/api/test_product.py -k 'test_positive_create_product_and_update_gpg' or 'test_positive_update_name_to_original'

@vijaysawant vijaysawant added No-CherryPick PR doesnt need CherryPick to previous branches Stream Introduced in or relating directly to Satellite Stream/Master labels Jul 24, 2024
@vijaysawant vijaysawant requested a review from a team as a code owner July 24, 2024 10:05
@vijaysawant
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/api/test_product.py -k 'test_positive_create_product_and_update_gpg' or 'test_positive_update_name_to_original'

@omkarkhatavkar
Copy link

trigger: test-robottelo
pytest: tests/foreman/api/test_product.py -k 'test_positive_create_product_and_update_gpg' or 'test_positive_update_name_to_original'

@amolpati30
Copy link
Contributor

"trigger": "test-robottelo"
"pytest": "-k 'test_positive_create_product_and_update_gpg or test_positive_update_name_to_original' tests/foreman/api/test_product.py"

Copy link
Contributor

@vsedmik vsedmik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question to consider.

tests/foreman/api/test_product.py Outdated Show resolved Hide resolved
@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 7839
Build Status: SUCCESS
PRT Comment: pytest /opt/app-root/src/robottelo/tests/foreman -v -m build_sanity --external-logging
Test Result : ======= 12 passed, 5523 deselected, 5630 warnings in 1750.68s (0:29:10) ========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 24, 2024
Copy link
Member

@ColeHiggins2 ColeHiggins2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack pending suggestions

@vijaysawant vijaysawant force-pushed the 10-SAT-23547-api-test-product-crud-scenarios branch from 998a22e to e125843 Compare July 24, 2024 13:53
@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 24, 2024
@vijaysawant
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/api/test_product.py -k 'test_positive_create_product_and_update_gpg or test_positive_update_name_to_original'

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 7841
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/api/test_product.py -k test_positive_create_product_and_update_gpg or test_positive_update_name_to_original --external-logging
Test Result : ========== 8 passed, 56 deselected, 118 warnings in 636.60s (0:10:36) ==========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 24, 2024
@vijaysawant vijaysawant requested a review from vsedmik July 25, 2024 09:27
Copy link
Contributor

@vsedmik vsedmik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you.

@vsedmik vsedmik merged commit 70dd5ae into SatelliteQE:master Jul 25, 2024
11 checks passed
jyejare pushed a commit to jyejare/robottelo that referenced this pull request Oct 19, 2024
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.

8 participants