Skip to content

Commit

Permalink
[6.15.z] Fix hostCollection entities
Browse files Browse the repository at this point in the history
  • Loading branch information
LadislavVasina1 committed Sep 17, 2024
1 parent dc81d30 commit 937b58d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion airgun/entities/hostcollection.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import time

from navmazing import NavigateToSibling
from selenium.webdriver.common.by import By
from wait_for import wait_for

from airgun.entities.base import BaseEntity
Expand Down Expand Up @@ -105,9 +108,13 @@ 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()
submit = self.browser.selenium.find_element(By.XPATH, './/input[@value="Submit"]')
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(
Expand Down

0 comments on commit 937b58d

Please sign in to comment.