From e178524fd0c164b848a59a3289a9cee9445c75af Mon Sep 17 00:00:00 2001 From: ajasnosz Date: Wed, 20 Nov 2024 09:21:08 +0100 Subject: [PATCH] test : fix ui test setup [run-ui-tests] --- ui_tests/tests/test_save_update_configuration.py | 2 +- ui_tests/tests/test_splunk_integration.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui_tests/tests/test_save_update_configuration.py b/ui_tests/tests/test_save_update_configuration.py index 4759bb58e..b0e56103e 100644 --- a/ui_tests/tests/test_save_update_configuration.py +++ b/ui_tests/tests/test_save_update_configuration.py @@ -208,7 +208,7 @@ def test_check_that_inventory_config_is_stored_upon_applying_configuration(): p_profiles.set_profile_name(profile) p_profiles.add_varbind("IP-MIB", "ifDescr") p_profiles.click_submit_button() - time.sleep(10) # wait for profile to be shown on the list + time.sleep(1) # wait for profile to be shown on the list p_header.switch_to_inventory() p_inventory.click_add_new_device_group_button() diff --git a/ui_tests/tests/test_splunk_integration.py b/ui_tests/tests/test_splunk_integration.py index 754f09acc..f4a44eb41 100644 --- a/ui_tests/tests/test_splunk_integration.py +++ b/ui_tests/tests/test_splunk_integration.py @@ -377,7 +377,7 @@ def test_setting_host_in_inventory(setup): p_inventory.set_smart_profiles("false") # p_inventory.set_community_string(new_community, True) p_inventory.click_submit_button_for_add_entry() - time.sleep(2) + time.sleep(10) # apply changes p_header.apply_changes() time_to_upgrade = p_header.get_time_to_upgrade()