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
960e2065
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
features/support/capybara.rb
features/support/capybara.rb
+1
-7
spec/support/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|
...
@@ -21,13 +21,7 @@ Capybara.register_driver :chrome do |app|
options
.
add_argument
(
"no-sandbox"
)
options
.
add_argument
(
"no-sandbox"
)
# Run headless by default unless CHROME_HEADLESS specified
# Run headless by default unless CHROME_HEADLESS specified
unless
ENV
[
'CHROME_HEADLESS'
]
=~
/^(false|no|0)$/i
options
.
add_argument
(
"headless"
)
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
# Disable /dev/shm use in CI. See https://gitlab.com/gitlab-org/gitlab-ee/issues/4252
# 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'
]
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|
...
@@ -35,13 +35,7 @@ Capybara.register_driver :chrome do |app|
options
.
add_argument
(
"no-sandbox"
)
options
.
add_argument
(
"no-sandbox"
)
# Run headless by default unless CHROME_HEADLESS specified
# Run headless by default unless CHROME_HEADLESS specified
unless
ENV
[
'CHROME_HEADLESS'
]
=~
/^(false|no|0)$/i
options
.
add_argument
(
"headless"
)
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
# Disable /dev/shm use in CI. See https://gitlab.com/gitlab-org/gitlab-ee/issues/4252
# 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'
]
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