From c6932dde79987d163d30dcd9625497951dbff4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 Jul 2015 09:56:20 +0200 Subject: [PATCH] [ci] fix webui test case stumbling over multiple hits triggered with fixture changes of last commit --- src/api/test/functional/webui/package_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/test/functional/webui/package_controller_test.rb b/src/api/test/functional/webui/package_controller_test.rb index cdd50fd3754..d7c3e16753c 100644 --- a/src/api/test/functional/webui/package_controller_test.rb +++ b/src/api/test/functional/webui/package_controller_test.rb @@ -196,7 +196,7 @@ def fill_comment(body = 'Comment Body') while Time.now - starttime < 10 first('.icons-reload').click if page.has_selector? '.buildstatus' - break if find('.buildstatus').text == 'succeeded' + break if first('.buildstatus').text == 'succeeded' end end find('.buildstatus').must_have_text 'succeeded'