robottelo icon indicating copy to clipboard operation
robottelo copied to clipboard

[Comp Eval] Updating fixture to SCA and Fixing failing tests

Open ColeHiggins2 opened this issue 1 year ago • 2 comments

Problem Statement

Many tests were failing in the UI due to several issues including outdated code, old non-sca fixtures, and more.

The associated issues were addressed and now passing RHSAT6-45606: test_positive_generate_all_installed_packages_report RHSAT6-44209: test_positive_gen_entitlements_reports_multiple_formats RHSAT6-40833: test_positive_generate_registered_hosts_report

Solution

Update setup_content fixture to use SCA and enabled the custom repo on the Activation Key docstring changes and manual org.disable for subscription-entitlements report Rewrite outdated test using new rhel_content fixture

ColeHiggins2 avatar Feb 23 '24 16:02 ColeHiggins2

trigger: test-robottelo pytest: tests/foreman/ui/ -m e2e

omkarkhatavkar avatar Feb 29 '24 07:02 omkarkhatavkar

PRT Result

Build Number: 5896
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/ -m e2e --external-logging
Test Result : = 10 failed, 26 passed, 800 deselected, 1978 warnings, 5 errors in 13727.37s (3:48:47) =

Satellite-QE avatar Feb 29 '24 11:02 Satellite-QE

trigger: test-robottelo pytest: tests/foreman/ui/test_reporttemplates.py -k test_positive_generate_registered_hosts_report

ColeHiggins2 avatar May 10 '24 15:05 ColeHiggins2

PRT Result

Build Number: 6882
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_reporttemplates.py -k test_positive_generate_registered_hosts_report --external-logging
Test Result : ========== 3 passed, 15 deselected, 61 warnings in 1014.84s (0:16:54) ==========

Satellite-QE avatar May 10 '24 15:05 Satellite-QE