Skip to content

Commit

Permalink
Merge pull request #1564 from LadislavVasina1/615fixHostCollectionEnt…
Browse files Browse the repository at this point in the history
…ities

[6.15.z] Fix hostCollection entities
  • Loading branch information
vijaysawant authored Sep 19, 2024
2 parents dc81d30 + 937b58d commit 03628d1
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 03628d1

Please sign in to comment.