Add i18n for HTML and manifest
This commit is contained in:
parent
7ce7b2b40b
commit
47e02ef136
6 changed files with 452 additions and 3 deletions
|
|
@ -40,10 +40,12 @@ class TestApplication(testlib.MachineCase):
|
|||
# HACK: work around language switching in Chrome not working in current session (Cockpit issue #8160)
|
||||
b.reload(ignore_cache=True)
|
||||
b.wait_present("#content")
|
||||
# menu label (from manifest) should be translated
|
||||
b.wait_text("#host-apps a[href='/starter-kit']", "Bausatz")
|
||||
|
||||
b.go("/starter-kit")
|
||||
b.enter_page("/starter-kit")
|
||||
|
||||
# page label (from js) should be translated
|
||||
b.wait_in_text(".container-fluid span", "Läuft auf")
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue