From 78bf02e93dfece32767b49737f3dd1a40afb70af Mon Sep 17 00:00:00 2001 From: Alfredo Sumaran Date: Mon, 22 Feb 2016 15:32:45 -0500 Subject: Set window_size to 1366*768 --- features/support/capybara.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features') diff --git a/features/support/capybara.rb b/features/support/capybara.rb index 38069ff8835..f33379f76c9 100644 --- a/features/support/capybara.rb +++ b/features/support/capybara.rb @@ -6,7 +6,7 @@ timeout = (ENV['CI'] || ENV['CI_SERVER']) ? 90 : 15 Capybara.javascript_driver = :poltergeist Capybara.register_driver :poltergeist do |app| - Capybara::Poltergeist::Driver.new(app, js_errors: true, timeout: timeout) + Capybara::Poltergeist::Driver.new(app, js_errors: true, timeout: timeout, window_size: [1366, 768]) end Capybara.default_wait_time = timeout -- cgit v1.2.1 From 5507c24ffd249c52a9673c618eed525b34174cde Mon Sep 17 00:00:00 2001 From: Alfredo Sumaran Date: Mon, 22 Feb 2016 19:59:22 -0500 Subject: Fix failing spec --- features/project/shortcuts.feature | 1 - 1 file changed, 1 deletion(-) (limited to 'features') diff --git a/features/project/shortcuts.feature b/features/project/shortcuts.feature index 10e7c234610..1144ea2e133 100644 --- a/features/project/shortcuts.feature +++ b/features/project/shortcuts.feature @@ -12,7 +12,6 @@ Feature: Project Shortcuts @javascript Scenario: Navigate to commits tab - Given I visit my project's files page Given I press "g" and "c" Then the active main tab should be Commits -- cgit v1.2.1 From be0f97a6d4a170aaf181f00078367b356015292e Mon Sep 17 00:00:00 2001 From: Alfredo Sumaran Date: Tue, 23 Feb 2016 20:04:20 -0500 Subject: Initialize navigation shortcuts on project's files page --- features/project/shortcuts.feature | 1 + 1 file changed, 1 insertion(+) (limited to 'features') diff --git a/features/project/shortcuts.feature b/features/project/shortcuts.feature index 1144ea2e133..10e7c234610 100644 --- a/features/project/shortcuts.feature +++ b/features/project/shortcuts.feature @@ -12,6 +12,7 @@ Feature: Project Shortcuts @javascript Scenario: Navigate to commits tab + Given I visit my project's files page Given I press "g" and "c" Then the active main tab should be Commits -- cgit v1.2.1