From fd11742922e99c8524502a90db24219e31026311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Va=C5=A1ina?= Date: Thu, 19 Sep 2024 12:02:56 +0200 Subject: [PATCH] Fix hostCollection airgun entities (#1563) (cherry picked from commit 9d920950bce29da2dd70273ab8676426780e6598) --- airgun/entities/hostcollection.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/airgun/entities/hostcollection.py b/airgun/entities/hostcollection.py index d9f411238..1c12be815 100644 --- a/airgun/entities/hostcollection.py +++ b/airgun/entities/hostcollection.py @@ -1,3 +1,5 @@ +import time + from navmazing import NavigateToSibling from wait_for import wait_for @@ -105,9 +107,12 @@ def manage_packages( # After this step the user is redirected to remote execution job # create view. job_create_view = HostCollectionActionRemoteExecutionJobCreate(view.browser) + self.browser.plugin.ensure_page_safe(timeout='5s') job_create_view.fill(job_values) job_create_view.submit.click() + # wait for the job deatils to load + time.sleep(3) # After this step the user is redirected to job status view. job_status_view = JobInvocationStatusView(view.browser) wait_for(