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] [comp-eval] UI>content>errata tab, Pagination testing #13904

Merged

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #13767

Update Errata UI Pagination testing

  • to standards for 6.15.0 for setup w/ global registration, and new host UI views
  • depends on airgun#1152

Implement

  • use of registered host fixture, setup w/ global registration, subscribed to content.
  • method to publish and promote cv, wait for any task(s).
  • migrate Airgun UI view; from legacy contenthost UI > errata page ,
    to new host UI > content > errata tab .

Handle Failure: expected updated pagination, but remains the same:

  • Sometimes, applicable_errata_count for the host has already updated after some install, but pagination on the table remains the same as before. I used wait_for to give the new host>content>errata tab time to reload with updated entries /total_items/total_pages etc. Timeout set for 30s on the tab loading new table and pagination, in case satellite is slow.

Affected tests and PRT case:

  • test_content_host_errata_page_pagination renamed to test_host_content_errata_tab_pagination
  • test_end_to_end by modifying fixture registered_contenthost
trigger: test-robottelo
pytest: tests/foreman/ui/test_errata.py -k 'test_host_content_errata_tab_pagination or test_end_to_end'
airgun: 1152

wait_for() reload of errata tab, handle pagination exceptions

Clarify comments

(cherry picked from commit 86569dd)
@Satellite-QE Satellite-QE added the 6.15.z Introduced in or relating directly to Satellite 6.15 label Jan 25, 2024
@Satellite-QE Satellite-QE requested a review from a team as a code owner January 25, 2024 21:00
@Satellite-QE Satellite-QE added Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Jan 25, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_errata.py -k 'test_host_content_errata_tab_pagination or test_end_to_end'
airgun: 1152

@rplevka rplevka merged commit b8ecfc3 into 6.15.z Jan 27, 2024
12 checks passed
@rplevka rplevka deleted the cherry-pick-6.15.z-86569ddd82a82a58c8d8742b726037dff0a67e96 branch January 27, 2024 12:43
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 No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants