Add scss example

This commit is contained in:
Lars Karlitski 2018-06-21 12:32:15 +02:00
parent 47e02ef136
commit 5b726c2f6b
6 changed files with 23 additions and 7 deletions

View file

@ -26,8 +26,8 @@ class TestApplication(testlib.MachineCase):
# verify expected host name
hostname = m.execute("hostname").strip()
b.wait_present(".container-fluid span")
b.wait_text(".container-fluid span", "Running on " + hostname)
b.wait_present(".container-fluid p")
b.wait_text(".container-fluid p", "Running on " + hostname)
# change language to German
b.switch_to_top()
@ -46,7 +46,7 @@ class TestApplication(testlib.MachineCase):
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")
b.wait_in_text(".container-fluid p", "Läuft auf")
if __name__ == '__main__':
testlib.test_main()