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
717edfa4
Commit
717edfa4
authored
Jul 10, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase GitLab QA screenshots size
parent
6b76c19b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
qa/qa/specs/config.rb
qa/qa/specs/config.rb
+1
-13
No files found.
qa/qa/specs/config.rb
View file @
717edfa4
...
@@ -25,27 +25,15 @@ module QA
...
@@ -25,27 +25,15 @@ module QA
def
configure_rspec!
def
configure_rspec!
RSpec
.
configure
do
|
config
|
RSpec
.
configure
do
|
config
|
config
.
expect_with
:rspec
do
|
expectations
|
config
.
expect_with
:rspec
do
|
expectations
|
# This option will default to `true` in RSpec 4. It makes the `description`
# and `failure_message` of custom matchers include text for helper methods
# defined using `chain`.
expectations
.
include_chain_clauses_in_custom_matcher_descriptions
=
true
expectations
.
include_chain_clauses_in_custom_matcher_descriptions
=
true
end
end
config
.
mock_with
:rspec
do
|
mocks
|
config
.
mock_with
:rspec
do
|
mocks
|
# Prevents you from mocking or stubbing a method that does not exist on
# a real object. This is generally recommended, and will default to
# `true` in RSpec 4.
mocks
.
verify_partial_doubles
=
true
mocks
.
verify_partial_doubles
=
true
end
end
# Run specs in random order to surface order dependencies.
config
.
order
=
:random
config
.
order
=
:random
Kernel
.
srand
config
.
seed
Kernel
.
srand
config
.
seed
# config.before(:all) do
# page.current_window.resize_to(1200, 1800)
# end
config
.
formatter
=
:documentation
config
.
formatter
=
:documentation
config
.
color
=
true
config
.
color
=
true
end
end
...
@@ -56,7 +44,7 @@ module QA
...
@@ -56,7 +44,7 @@ module QA
capabilities
=
Selenium
::
WebDriver
::
Remote
::
Capabilities
.
chrome
(
capabilities
=
Selenium
::
WebDriver
::
Remote
::
Capabilities
.
chrome
(
'chromeOptions'
=>
{
'chromeOptions'
=>
{
'binary'
=>
'/usr/bin/google-chrome-stable'
,
'binary'
=>
'/usr/bin/google-chrome-stable'
,
'args'
=>
%w[headless no-sandbox disable-gpu]
'args'
=>
%w[headless no-sandbox disable-gpu
window-size=1280,1024
]
}
}
)
)
...
...
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