Skip to content
Snippets Groups Projects
Commit c1b4f800 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch 'fix/gb/gitlab-qa-start-page-cold-boot' into 'master'

Resolve GitLab QA cold boot problems on entry page

See merge request !10003
parents 0e4f2e01 cc887599
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5,8 +5,14 @@ module QA
def initialize
visit('/')
 
# This resolves cold boot problems with login page
find('.application', wait: 120)
# This resolves cold boot / background tasks problems
#
start = Time.now
while Time.now - start < 240
break if page.has_css?('.application', wait: 10)
refresh
end
end
 
def sign_in_using_credentials
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment