From: Lucas Di Pentima Date: Fri, 9 Aug 2019 17:04:31 +0000 (-0300) Subject: 14716: Fixes wb integration test. X-Git-Tag: 2.0.0~223^2~10 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/23138fc621581634579294751beeff7f5e66358e 14716: Fixes wb integration test. Now that we have an unified Users.AnonymousUserToken setting active for the integration tests, workbench started to show the 'Browse public projects' menu item. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/apps/workbench/test/integration/application_layout_test.rb b/apps/workbench/test/integration/application_layout_test.rb index 505767814a..361d977e59 100644 --- a/apps/workbench/test/integration/application_layout_test.rb +++ b/apps/workbench/test/integration/application_layout_test.rb @@ -30,7 +30,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest assert page.has_link?("Projects"), 'Not found link - Projects' page.find("#projects-menu").click assert_selector 'a', text: 'Search all projects' - assert_no_selector 'a', text: 'Browse public projects' + assert_selector 'a', text: 'Browse public projects' assert_selector 'a', text: 'Add a new project' assert_selector 'li[class="dropdown-header"]', text: 'My projects' end