From 71defea8b73d7977244f9a72ce0dc5e3e7488315 Mon Sep 17 00:00:00 2001 From: Pawel Szkamruk Date: Thu, 19 Oct 2023 17:10:37 +0200 Subject: [PATCH] stabilization - adding profiles into inventory --- ui_tests/pages/inventory_page.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui_tests/pages/inventory_page.py b/ui_tests/pages/inventory_page.py index 4ec9d06f4..cf6bd4f70 100644 --- a/ui_tests/pages/inventory_page.py +++ b/ui_tests/pages/inventory_page.py @@ -211,6 +211,9 @@ def select_profiles(self, profiles, edit=False): profile_input.send_keys(profile) profile_input.send_keys(Keys.ENTER) time.sleep(2) + # we need to hide profile list, + # otherwise it can break test execution and popup can intercept clicking on smart profiles + profile_input.send_keys(Keys.ESCAPE) def _get_inventory_data(self, host, field): if field == 'snmp_version':