3021: 4399: Convert some tests from selenium to phantomjs. Restart Headless less.
[arvados.git] / apps / workbench / test / integration / application_layout_test.rb
index 093915905498f9cd529690614e36f54751119813..6949072f71112c64bd66d281aff531b647aabe91 100644 (file)
@@ -1,6 +1,4 @@
 require 'integration_helper'
-require 'selenium-webdriver'
-require 'headless'
 
 class ApplicationLayoutTest < ActionDispatch::IntegrationTest
   # These tests don't do state-changing API calls. Save some time by
@@ -9,9 +7,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
   reset_api_fixtures :after_suite, true
 
   setup do
-    headless = Headless.new
-    headless.start
-    Capybara.current_driver = :selenium
+    Capybara.current_driver = Capybara.javascript_driver
   end
 
   def verify_homepage user, invited, has_profile