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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7e1b491c
Commit
7e1b491c
authored
Jul 05, 2018
by
Jacob Vosmaer (GitLab)
Committed by
Robert Speicher
Jul 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase capybara JS request timeout
parent
8d90f9fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
spec/support/helpers/wait_for_requests.rb
spec/support/helpers/wait_for_requests.rb
+3
-1
No files found.
spec/support/helpers/wait_for_requests.rb
View file @
7e1b491c
...
...
@@ -24,7 +24,9 @@ module WaitForRequests
# Wait for client-side AJAX requests
def
wait_for_requests
wait_for
(
'JS requests complete'
)
{
finished_all_js_requests?
}
wait_for
(
'JS requests complete'
,
max_wait_time:
2
*
Capybara
.
default_max_wait_time
)
do
finished_all_js_requests?
end
end
# Wait for active Rack requests and client-side AJAX requests
...
...
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