diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-01-30 16:40:01 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-01-30 16:40:01 +0900 |
commit | 68eed60eee5d2f06408bb315a531bb6e49e9aeeb (patch) | |
tree | b94531c15559284090e8ed99477069b8639023c1 /actionpack/test | |
parent | deac9ec430f652ddea485c92f39f7b00ebb4d4a5 (diff) | |
download | rails-68eed60eee5d2f06408bb315a531bb6e49e9aeeb.tar.gz rails-68eed60eee5d2f06408bb315a531bb6e49e9aeeb.tar.bz2 rails-68eed60eee5d2f06408bb315a531bb6e49e9aeeb.zip |
selenium-webdriver is not always required for system testing
But `NameError: uninitialized constant ActionDispatch::SystemTesting::Browser::Selenium`
is pretty confused. I've little improved missing constant error to
`NameError: uninitialized constant Selenium`.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/system_testing/screenshot_helper_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/system_testing/screenshot_helper_test.rb b/actionpack/test/dispatch/system_testing/screenshot_helper_test.rb index 097ef8af29..b756b91379 100644 --- a/actionpack/test/dispatch/system_testing/screenshot_helper_test.rb +++ b/actionpack/test/dispatch/system_testing/screenshot_helper_test.rb @@ -3,6 +3,7 @@ require "abstract_unit" require "action_dispatch/system_testing/test_helpers/screenshot_helper" require "capybara/dsl" +require "selenium/webdriver" class ScreenshotHelperTest < ActiveSupport::TestCase test "image path is saved in tmp directory" do |