X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b3eb8176f8d060b0e4652cae8e041c6bf2b7103e..6c78b28f9f54664babc57a4b4372c502065ed5d1:/apps/workbench/test/integration/smoke_test.rb diff --git a/apps/workbench/test/integration/smoke_test.rb b/apps/workbench/test/integration/smoke_test.rb index 1e33370447..18973dbeee 100644 --- a/apps/workbench/test/integration/smoke_test.rb +++ b/apps/workbench/test/integration/smoke_test.rb @@ -1,9 +1,13 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'integration_helper' require 'uri' class SmokeTest < ActionDispatch::IntegrationTest setup do - Capybara.current_driver = Capybara.javascript_driver + need_javascript end def assert_visit_success(allowed=[200]) @@ -43,4 +47,10 @@ class SmokeTest < ActionDispatch::IntegrationTest # urls += all_links_in('body') end end + + test "mithril test page" do + visit page_with_token('active_trustedclient', '/tests/mithril') + assert_visit_success + assert_selector 'p', text: 'mithril is working' + end end