From 2cddc1043c397a3cda0fc906761aae7e656e24e4 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 3 Apr 2019 16:38:24 +0200 Subject: [PATCH] test: Remove redundant wait_present() calls These are obsolete since https://github.com/cockpit-project/cockpit/commit/b1722f5b5d0 Bump cockpit test API accordingly. --- Makefile | 2 +- test/check-application | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cb0eb9e..61d6c1e 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/test/check-application b/test/check-application index 749427e..2ad5d68 100755 --- a/test/check-application +++ b/test/check-application @@ -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