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:
Jelle van der Waa 2026-10-12 12:19:08 +02:00 committed by Jelle van der Waa
parent 6913e9b593
commit 6540c52962

View file

@ -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")