BigW Consortium Gitlab

Commit 717edfa4 by Grzegorz Bizon

Increase GitLab QA screenshots size

parent 6b76c19b
...@@ -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]
} }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment