BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
960e2065
Unverified
Commit
960e2065
authored
Apr 13, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove --disable-gpu flag as it is no longer needed
parent
36373af3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
capybara.rb
features/support/capybara.rb
+1
-7
capybara.rb
spec/support/capybara.rb
+1
-7
No files found.
features/support/capybara.rb
View file @
960e2065
...
...
@@ -21,13 +21,7 @@ Capybara.register_driver :chrome do |app|
options
.
add_argument
(
"no-sandbox"
)
# Run headless by default unless CHROME_HEADLESS specified
unless
ENV
[
'CHROME_HEADLESS'
]
=~
/^(false|no|0)$/i
options
.
add_argument
(
"headless"
)
# Chrome documentation says this flag is needed for now
# https://developers.google.com/web/updates/2017/04/headless-chrome#cli
options
.
add_argument
(
"disable-gpu"
)
end
options
.
add_argument
(
"headless"
)
unless
ENV
[
'CHROME_HEADLESS'
]
=~
/^(false|no|0)$/i
# Disable /dev/shm use in CI. See https://gitlab.com/gitlab-org/gitlab-ee/issues/4252
options
.
add_argument
(
"disable-dev-shm-usage"
)
if
ENV
[
'CI'
]
||
ENV
[
'CI_SERVER'
]
...
...
spec/support/capybara.rb
View file @
960e2065
...
...
@@ -35,13 +35,7 @@ Capybara.register_driver :chrome do |app|
options
.
add_argument
(
"no-sandbox"
)
# Run headless by default unless CHROME_HEADLESS specified
unless
ENV
[
'CHROME_HEADLESS'
]
=~
/^(false|no|0)$/i
options
.
add_argument
(
"headless"
)
# Chrome documentation says this flag is needed for now
# https://developers.google.com/web/updates/2017/04/headless-chrome#cli
options
.
add_argument
(
"disable-gpu"
)
end
options
.
add_argument
(
"headless"
)
unless
ENV
[
'CHROME_HEADLESS'
]
=~
/^(false|no|0)$/i
# Disable /dev/shm use in CI. See https://gitlab.com/gitlab-org/gitlab-ee/issues/4252
options
.
add_argument
(
"disable-dev-shm-usage"
)
if
ENV
[
'CI'
]
||
ENV
[
'CI_SERVER'
]
...
...
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