Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Jul 15, 2024
1 parent 94495c4 commit 6399fdb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/check-machines-create
Original file line number Diff line number Diff line change
Expand Up @@ -1314,6 +1314,12 @@ vnc_password= "{vnc_passwd}"
else:
self.browser.click(".pf-v5-c-modal-box__footer button:contains(Create and edit)")
self.browser.wait_not_present("#create-vm-dialog")

if self.create_and_run:
self.browser.wait_text(f"#vm-{self.name}-{self.connection}-state", "Running")
else:
self.browser.wait_text(f"#vm-{self.name}-{self.connection}-state", "Shut off")

if self.storage_pool != NO_STORAGE:
self.goToVmPage(self.name)
self.browser.wait_text(f"#vm-{self.name}-disks-vda-bus", "virtio")
Expand Down

0 comments on commit 6399fdb

Please sign in to comment.