mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
test: Wait for the Software updates page to load
In our CI this test sometimes flakes on fedora-44/devel, due to the automatic updates button to still be disabled. To give our tests more time to wait on PackageKit/dnf5 to finish, first assert the page loaded.
This commit is contained in:
parent
6913e9b593
commit
6540c52962
1 changed files with 1 additions and 0 deletions
|
|
@ -1764,6 +1764,7 @@ class TestAutoUpdatesInstall(NoSubManCase):
|
|||
with b.wait_timeout(60):
|
||||
b.wait_in_text(".pf-v6-c-empty-state__title", "Update was successful")
|
||||
b.click("#ignore")
|
||||
b.wait_in_text("#status", "System is up to date")
|
||||
|
||||
if "dnf" in self.backend:
|
||||
b.wait_in_text("#autoupdates-settings", "Not set up")
|
||||
|
|
|
|||
Loading…
Reference in a new issue