test: Remove redundant wait_present() calls
These are obsolete since
b1722f5b5d
Bump cockpit test API accordingly.
This commit is contained in:
parent
d3c41370c9
commit
2cddc1043c
2 changed files with 1 additions and 3 deletions
2
Makefile
2
Makefile
|
|
@ -143,7 +143,7 @@ bots:
|
||||||
# checkout Cockpit's test API; this has no API stability guarantee, so check out a stable tag
|
# checkout Cockpit's test API; this has no API stability guarantee, so check out a stable tag
|
||||||
# when you start a new project, use the latest relese, and update it from time to time
|
# when you start a new project, use the latest relese, and update it from time to time
|
||||||
test/common:
|
test/common:
|
||||||
git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 190
|
git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 191
|
||||||
git checkout --force FETCH_HEAD -- test/common
|
git checkout --force FETCH_HEAD -- test/common
|
||||||
git reset test/common
|
git reset test/common
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,12 +20,10 @@ class TestApplication(testlib.MachineCase):
|
||||||
|
|
||||||
self.login_and_go("/starter-kit")
|
self.login_and_go("/starter-kit")
|
||||||
# verify expected heading
|
# verify expected heading
|
||||||
b.wait_present(".container-fluid h2")
|
|
||||||
b.wait_text(".container-fluid h2", "Starter Kit")
|
b.wait_text(".container-fluid h2", "Starter Kit")
|
||||||
|
|
||||||
# verify expected host name
|
# verify expected host name
|
||||||
hostname = m.execute("hostname").strip()
|
hostname = m.execute("hostname").strip()
|
||||||
b.wait_present(".container-fluid p")
|
|
||||||
b.wait_text(".container-fluid p", "Running on " + hostname)
|
b.wait_text(".container-fluid p", "Running on " + hostname)
|
||||||
|
|
||||||
# change current hostname
|
# change current hostname
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue