diff options
author | Rémy Coutable <remy@rymai.me> | 2017-07-10 11:20:22 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-07-10 11:20:22 +0000 |
commit | 784d983a8ffd376c0d5e8b55318c217be356d0d2 (patch) | |
tree | a5b28092e82605e68316cdf535a053b766ffb364 /qa | |
parent | 3ea0ac9a7466f62b8ab82fbd98443ef2b6212c74 (diff) | |
parent | 717edfa4c6c6816d30f8ec2ad4b9da29e0232291 (diff) | |
download | gitlab-ce-784d983a8ffd376c0d5e8b55318c217be356d0d2.tar.gz |
Merge branch 'backstage/gb/qa/increase-qa-screenshots-size' into 'master'
Increase GitLab QA screenshots size
See merge request !12748
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/config.rb | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/qa/qa/specs/config.rb b/qa/qa/specs/config.rb index b341aa3094a..0ce26a3f9ab 100644 --- a/qa/qa/specs/config.rb +++ b/qa/qa/specs/config.rb @@ -25,27 +25,15 @@ module QA def configure_rspec! RSpec.configure do |config| 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 end 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 end - # Run specs in random order to surface order dependencies. config.order = :random Kernel.srand config.seed - - # config.before(:all) do - # page.current_window.resize_to(1200, 1800) - # end - config.formatter = :documentation config.color = true end @@ -56,7 +44,7 @@ module QA capabilities = Selenium::WebDriver::Remote::Capabilities.chrome( 'chromeOptions' => { 'binary' => '/usr/bin/google-chrome-stable', - 'args' => %w[headless no-sandbox disable-gpu] + 'args' => %w[headless no-sandbox disable-gpu window-size=1280,1024] } ) |