Bump cockpit test API to 239

Replace the deprecated wait_present().
This commit is contained in:
Martin Pitt 2021-02-25 10:34:16 +01:00 committed by Matej Marusak
parent 6b40f35e04
commit d4c81c9152
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ class TestApplication(testlib.MachineCase):
b.expect_load()
# HACK: work around language switching in Chrome not working in current session (Cockpit issue #8160)
b.reload(ignore_cache=True)
b.wait_present("#content")
b.wait_visible("#content")
# menu label (from manifest) should be translated
b.wait_text("#host-apps a[href='/starter-kit']", "Bausatz")