Add scss example

Closes #26
This commit is contained in:
Lars Karlitski 2018-06-22 11:15:57 +02:00 committed by Martin Pitt
parent 47e02ef136
commit 7260f5c01f
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()