Skip to content

Commit

Permalink
Fix testOstree flake by waiting for the 'Update and Reboot' button to…
Browse files Browse the repository at this point in the history
… get enabled

Closes cockpit-project#15
  • Loading branch information
KKoukiou authored and martinpitt committed Apr 15, 2019
1 parent 3467462 commit f220f45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/check-ostree
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ class OstreeRestartCase(MachineCase):
# Force an error
stop_trivial_httpd(m, server_pid)
b.wait_not_present('table.listing-ct tbody:nth-child(3) div.listing-ct-error')
b.wait_not_present("table.listing-ct tbody:nth-child(3) div.listing-ct-actions button.disabled")
b.click("table.listing-ct tbody:nth-child(3) div.listing-ct-actions button")
b.wait_present("table.listing-ct tbody:nth-child(3) div.listing-ct-actions button.disabled")
b.wait_present("table.listing-ct tbody:nth-child(3) div.listing-ct-actions button.enabled")
Expand Down

0 comments on commit f220f45

Please sign in to comment.