diff --git a/test/browser/form_test.rb b/test/browser/form_test.rb index 332d82c70..2a08af50d 100644 --- a/test/browser/form_test.rb +++ b/test/browser/form_test.rb @@ -145,6 +145,7 @@ class FormTest < TestCase browser: customer, css: 'body div.modal .js-close', ) + sleep 1 exists_not( browser: customer, css: 'body div.modal', @@ -246,6 +247,7 @@ class FormTest < TestCase browser: customer, css: 'body div.modal .js-close', ) + sleep 1 exists_not( browser: customer, css: 'body div.modal', diff --git a/test/integration/twitter_browser_test.rb b/test/integration/twitter_browser_test.rb index 21a11328e..9a0021c7f 100644 --- a/test/integration/twitter_browser_test.rb +++ b/test/integration/twitter_browser_test.rb @@ -187,7 +187,7 @@ class TwitterBrowserTest < TestCase ) # wait till new streaming of channel is active - sleep 50 + sleep 60 # start tweet from customer client = Twitter::REST::Client.new do |config| @@ -216,7 +216,7 @@ class TwitterBrowserTest < TestCase watch_for( css: '.content.active', value: hash, - timeout: 24, + timeout: 36, ) ticket_open_by_title( diff --git a/test/integration/twitter_test.rb b/test/integration/twitter_test.rb index b8f6337df..9bd921828 100644 --- a/test/integration/twitter_test.rb +++ b/test/integration/twitter_test.rb @@ -185,7 +185,7 @@ class TwitterTest < ActiveSupport::TestCase ) # fetch check system account - sleep 15 + sleep 20 article = nil (1..3).each { Channel.fetch @@ -193,7 +193,7 @@ class TwitterTest < ActiveSupport::TestCase # check if ticket and article has been created article = Ticket::Article.find_by(message_id: tweet.id) break if article - sleep 15 + sleep 20 } assert(article) assert_equal('@me_bauer', article.from, 'ticket article from')