Init empty project

This commit is contained in:
Simon Kobyda 2020-01-07 16:50:41 +01:00
parent d9a67b1f86
commit 3a5489ce00
10 changed files with 22 additions and 164 deletions

View file

@ -18,9 +18,9 @@ class TestApplication(testlib.MachineCase):
b = self.browser
m = self.machine
self.login_and_go("/starter-kit")
self.login_and_go("/certificates")
# verify expected heading
b.wait_text(".container-fluid h2", "Starter Kit")
b.wait_text(".container-fluid h2", "Certificates")
# verify expected host name
hostname = m.execute("hostname").strip()
@ -43,10 +43,10 @@ class TestApplication(testlib.MachineCase):
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.wait_text("#host-apps a[href='/certificates']", "Bausatz")
b.go("/starter-kit")
b.enter_page("/starter-kit")
b.go("/certificates")
b.enter_page("/certificates")
# page label (from js) should be translated
b.wait_in_text(".container-fluid p", "Läuft auf")