test: Check that window title is translated
This is actually kind of surprising: We never call cockpit.translate() anywhere.
This commit is contained in:
parent
109fa37309
commit
652b06d900
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ class TestApplication(testlib.MachineCase):
|
|||
b.wait_visible("#content")
|
||||
# menu label (from manifest) should be translated
|
||||
b.wait_text("#host-apps a[href='/starter-kit']", "Bausatz")
|
||||
# window title should be translated; this is not considered as "visible"
|
||||
self.assertIn("Bausatz", b.call_js_func("ph_text", "head title"))
|
||||
|
||||
b.go("/starter-kit")
|
||||
b.enter_page("/starter-kit")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue