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
Jérome Perrin
gitlab-ce
Commits
bb50917a
Commit
bb50917a
authored
Aug 11, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trying to prevent travis broken builds by increase capybara timout for cucumber
parent
44f79b2c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
features/support/env.rb
features/support/env.rb
+8
-0
No files found.
features/support/env.rb
View file @
bb50917a
...
...
@@ -65,3 +65,11 @@ end
# See https://github.com/cucumber/cucumber-rails/blob/master/features/choose_javascript_database_strategy.feature
Cucumber
::
Rails
::
Database
.
javascript_strategy
=
:truncation
# We need this to fix the random timeout error that we were seeing in CI.
Capybara
.
register_driver
:selenium_with_long_timeout
do
|
app
|
client
=
Selenium
::
WebDriver
::
Remote
::
Http
::
Default
.
new
client
.
timeout
=
120
Capybara
::
Selenium
::
Driver
.
new
(
app
,
:browser
=>
:firefox
,
:http_client
=>
client
)
end
Capybara
.
javascript_driver
=
:selenium_with_long_timeout
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