WIP - add some pixel test points
This commit is contained in:
parent
90a5cf4f88
commit
fb89e51c14
1 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ class TestApplication(testlib.MachineCase):
|
||||||
# verify expected host name
|
# verify expected host name
|
||||||
hostname = m.execute("hostname").strip()
|
hostname = m.execute("hostname").strip()
|
||||||
b.wait_in_text(".pf-c-alert__title", "Running on " + hostname)
|
b.wait_in_text(".pf-c-alert__title", "Running on " + hostname)
|
||||||
|
b.assert_pixels("hostname")
|
||||||
|
|
||||||
# change current hostname
|
# change current hostname
|
||||||
self.write_file("/etc/hostname", "new-" + hostname)
|
self.write_file("/etc/hostname", "new-" + hostname)
|
||||||
|
|
@ -57,6 +58,7 @@ class TestApplication(testlib.MachineCase):
|
||||||
b.enter_page("/starter-kit")
|
b.enter_page("/starter-kit")
|
||||||
# page label (from js) should be translated
|
# page label (from js) should be translated
|
||||||
b.wait_in_text(".pf-c-alert__title", "Läuft auf")
|
b.wait_in_text(".pf-c-alert__title", "Läuft auf")
|
||||||
|
b.assert_pixels("gastgebername")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue