test: Adjust to new navigation in Cockpit 220

The parent element `#navbar-dropdown` exists in both old and new
versions.
This commit is contained in:
Martin Pitt 2020-06-02 08:26:45 +02:00
parent 5660330c4c
commit d85cacec9e

View file

@ -33,7 +33,7 @@ class TestApplication(testlib.MachineCase):
# change language to German
b.switch_to_top()
b.click("#content-user-name")
b.click("#navbar-dropdown")
b.click(".display-language-menu a")
b.wait_popup('display-language')
b.set_val("#display-language select", "de-de")