Skip to content

Commit

Permalink
[ci] fix webui test case stumbling over multiple hits
Browse files Browse the repository at this point in the history
triggered with fixture changes of last commit
  • Loading branch information
adrianschroeter committed Jul 3, 2015
1 parent 3fe32fb commit c6932dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/test/functional/webui/package_controller_test.rb
Expand Up @@ -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'
Expand Down

0 comments on commit c6932dd

Please sign in to comment.