Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
caaaffde
Commit
caaaffde
authored
May 03, 2018
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce wait time
parent
4d0af292
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
qa/qa/factory/resource/branch.rb
qa/qa/factory/resource/branch.rb
+3
-4
No files found.
qa/qa/factory/resource/branch.rb
View file @
caaaffde
...
@@ -81,10 +81,9 @@ module QA
...
@@ -81,10 +81,9 @@ module QA
page
.
protect_branch
page
.
protect_branch
# Wait for page load, which resets the expanded sections
# Avoid Selenium::WebDriver::Error::StaleElementReferenceError
page
.
wait
(
reload:
false
)
do
# without sleeping. I.e. this completes fast on fast machines.
!
page
.
has_content?
(
'Collapse'
)
page
.
refresh
end
end
end
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment