WIP - capture only the alert
This commit is contained in:
parent
65b1368089
commit
a00c3dffdf
3 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ class TestApplication(testlib.MachineCase):
|
|||
# verify expected host name
|
||||
hostname = m.execute("hostname").strip()
|
||||
b.wait_in_text(".pf-c-alert__title", "Running on " + hostname)
|
||||
b.assert_pixels("hostname")
|
||||
b.assert_pixels(".pf-c-card__body", "hostname")
|
||||
|
||||
# change current hostname
|
||||
self.write_file("/etc/hostname", "new-" + hostname)
|
||||
|
|
@ -58,7 +58,7 @@ class TestApplication(testlib.MachineCase):
|
|||
b.enter_page("/starter-kit")
|
||||
# page label (from js) should be translated
|
||||
b.wait_in_text(".pf-c-alert__title", "Läuft auf")
|
||||
b.assert_pixels("gastgebername")
|
||||
b.assert_pixels(".pf-c-card__body", "gastgebername")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 5.4 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 4.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue