test: Remove redundant wait_present() calls

These are obsolete since
b1722f5b5d

Bump cockpit test API accordingly.
This commit is contained in:
Martin Pitt 2019-04-03 16:38:24 +02:00
parent d3c41370c9
commit 2cddc1043c
2 changed files with 1 additions and 3 deletions

View file

@ -143,7 +143,7 @@ bots:
# 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
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 reset test/common

View file

@ -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