Permalink
Browse files

Add default configuration to generated system test helper

This serves as self documentation so users know how to change the
driver.
  • Loading branch information...
eileencodes committed Feb 19, 2017
1 parent 1a0ca84 commit dbb60ff588f770d01b4b4ebc3905ff305c92ddd1
@@ -1,6 +1,8 @@
require "test_helper"
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
teardown do
take_failed_screenshot
Capybara.reset_sessions!
@@ -1,6 +1,8 @@
require "test_helper"
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
teardown do
take_failed_screenshot
Capybara.reset_sessions!
@@ -1,6 +1,8 @@
require "test_helper"
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
teardown do
take_failed_screenshot
Capybara.reset_sessions!

0 comments on commit dbb60ff

Please sign in to comment.