test: Remove redundant wait_present() calls (#159)
These are obsolete since
b1722f5b5d
Bump cockpit test API accordingly.
Closes #159
This commit is contained in:
parent
d3c41370c9
commit
fa7a430847
2 changed files with 1 additions and 3 deletions
|
|
@ -20,12 +20,10 @@ class TestApplication(testlib.MachineCase):
|
|||
|
||||
self.login_and_go("/starter-kit")
|
||||
# verify expected heading
|
||||
b.wait_present(".container-fluid h2")
|
||||
b.wait_text(".container-fluid h2", "Starter Kit")
|
||||
|
||||
# verify expected host name
|
||||
hostname = m.execute("hostname").strip()
|
||||
b.wait_present(".container-fluid p")
|
||||
b.wait_text(".container-fluid p", "Running on " + hostname)
|
||||
|
||||
# change current hostname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue