From 1f8c007fdf60408f35fecb993f88aab74d813049 Mon Sep 17 00:00:00 2001 From: jnagare Date: Mon, 15 Dec 2025 15:18:42 +0530 Subject: [PATCH 1/2] Kept only one e2e test case for each IOP functionality --- tests/foreman/ui/test_rhcloud_insights.py | 2 -- tests/foreman/ui/test_rhcloud_inventory.py | 3 --- tests/foreman/ui/test_rhcloud_iop.py | 6 ------ 3 files changed, 11 deletions(-) diff --git a/tests/foreman/ui/test_rhcloud_insights.py b/tests/foreman/ui/test_rhcloud_insights.py index 81ad6071be5..a29240ec0c4 100644 --- a/tests/foreman/ui/test_rhcloud_insights.py +++ b/tests/foreman/ui/test_rhcloud_insights.py @@ -139,8 +139,6 @@ def test_rhcloud_insights_e2e( @pytest.mark.e2e -@pytest.mark.pit_server -@pytest.mark.pit_client @pytest.mark.no_containers @pytest.mark.rhel_ver_list([10]) def test_rhcloud_insights_remediate_multiple_hosts( diff --git a/tests/foreman/ui/test_rhcloud_inventory.py b/tests/foreman/ui/test_rhcloud_inventory.py index 9079d3ffa30..cb1d474cc8a 100644 --- a/tests/foreman/ui/test_rhcloud_inventory.py +++ b/tests/foreman/ui/test_rhcloud_inventory.py @@ -425,8 +425,6 @@ def test_rhcloud_inventory_without_manifest(session, module_org, target_sat): ) -@pytest.mark.pit_server -@pytest.mark.pit_client @pytest.mark.run_in_one_thread def test_rhcloud_global_parameters( inventory_settings, @@ -676,7 +674,6 @@ def test_rh_cloud_minimal_report( @pytest.mark.e2e -@pytest.mark.pit_server @pytest.mark.pit_client @pytest.mark.rhel_ver_list([7, 8, 9, 10]) def test_sync_inventory_status(rhcloud_manifest_org, rhcloud_registered_hosts, module_target_sat): diff --git a/tests/foreman/ui/test_rhcloud_iop.py b/tests/foreman/ui/test_rhcloud_iop.py index 7efc469fe2c..865d862c627 100644 --- a/tests/foreman/ui/test_rhcloud_iop.py +++ b/tests/foreman/ui/test_rhcloud_iop.py @@ -102,8 +102,6 @@ def test_iop_recommendations_e2e( @pytest.mark.e2e -@pytest.mark.pit_server -@pytest.mark.pit_client @pytest.mark.no_containers @pytest.mark.rhel_ver_match(r'^(?![78]).*') @pytest.mark.parametrize('module_target_sat_insights', [False], ids=['local'], indirect=True) @@ -176,8 +174,6 @@ def test_iop_recommendations_remediate_multiple_hosts( @pytest.mark.e2e -@pytest.mark.pit_server -@pytest.mark.pit_client @pytest.mark.no_containers @pytest.mark.rhel_ver_match(r'^(?![78]).*') @pytest.mark.parametrize('module_target_sat_insights', [False], ids=['local'], indirect=True) @@ -275,8 +271,6 @@ def test_rhcloud_inventory_disabled_local_insights(module_target_sat_insights): @pytest.mark.e2e -@pytest.mark.pit_server -@pytest.mark.pit_client @pytest.mark.no_containers @pytest.mark.rhel_ver_match(r'^(?![78]).*') @pytest.mark.parametrize('module_target_sat_insights', [False], ids=['local'], indirect=True) From d82d2515afaa7d0c94d7cfac47eeba24d599be29 Mon Sep 17 00:00:00 2001 From: jnagare-redhat Date: Wed, 17 Dec 2025 13:42:01 +0530 Subject: [PATCH 2/2] Add PIT server and client markers to test --- tests/foreman/ui/test_rhcloud_iop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/foreman/ui/test_rhcloud_iop.py b/tests/foreman/ui/test_rhcloud_iop.py index 865d862c627..dea5285b9a3 100644 --- a/tests/foreman/ui/test_rhcloud_iop.py +++ b/tests/foreman/ui/test_rhcloud_iop.py @@ -174,6 +174,8 @@ def test_iop_recommendations_remediate_multiple_hosts( @pytest.mark.e2e +@pytest.mark.pit_server +@pytest.mark.pit_client @pytest.mark.no_containers @pytest.mark.rhel_ver_match(r'^(?![78]).*') @pytest.mark.parametrize('module_target_sat_insights', [False], ids=['local'], indirect=True)