X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3d5ffcdc1c522d8252470d9ab448e3872e0a3a58..fa166d52969bb6f002fb62b554ef227194e0febe:/apps/workbench/test/integration/errors_test.rb diff --git a/apps/workbench/test/integration/errors_test.rb b/apps/workbench/test/integration/errors_test.rb index 19ed7dca68..1cac667b22 100644 --- a/apps/workbench/test/integration/errors_test.rb +++ b/apps/workbench/test/integration/errors_test.rb @@ -2,7 +2,7 @@ require 'integration_helper' class ErrorsTest < ActionDispatch::IntegrationTest setup do - Capybara.current_driver = Capybara.javascript_driver + need_javascript end BAD_UUID = "ffffffffffffffffffffffffffffffff+0" @@ -126,4 +126,9 @@ class ErrorsTest < ActionDispatch::IntegrationTest end end + test "404 page checks if user not logged in and makes suggestion" do + visit "/collections/#{BAD_UUID}" + assert_text 'you are not logged in' + end + end