X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/38b15ad14b941e8935bdfae3ddcdb83f7d8e20af..3b40453701265dc66f8efb5865d29cf508f3ca43:/apps/workbench/test/integration/ajax_errors_test.rb diff --git a/apps/workbench/test/integration/ajax_errors_test.rb b/apps/workbench/test/integration/ajax_errors_test.rb index b8ed8a1a7d..40e7f9ea8f 100644 --- a/apps/workbench/test/integration/ajax_errors_test.rb +++ b/apps/workbench/test/integration/ajax_errors_test.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'integration_helper' class AjaxErrorsTest < ActionDispatch::IntegrationTest @@ -23,6 +27,7 @@ class AjaxErrorsTest < ActionDispatch::IntegrationTest end test 'load pane with expired token' do + skip 'unreliable test' # Similar to 'deleted session'. Here, the session cookie is still # alive, but it contains a token which has expired. This uses a # different code path because Workbench cannot detect that @@ -33,7 +38,7 @@ class AjaxErrorsTest < ActionDispatch::IntegrationTest # Go behind Workbench's back to expire the "active" token. token = api_fixture('api_client_authorizations')['active']['api_token'] auth = ApiClientAuthorization.find(token) - auth.update_attributes(expires_at: '1999-12-31T23:59:59Z') + auth.update(expires_at: '1999-12-31T23:59:59Z') end click_link "Subprojects" wait_for_ajax