From: Tom Clegg Date: Mon, 18 Aug 2014 22:18:55 +0000 (-0400) Subject: 3114: Update test case: searching for own uuid now shows home project. X-Git-Tag: 1.1.0~2314^2~1 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/903e49f38401ed6113f4e0ec159db8750d4db2ba?hp=d81ea65da05119d5c6480d373b5d42bbee8ae1ad 3114: Update test case: searching for own uuid now shows home project. --- diff --git a/apps/workbench/test/integration/application_layout_test.rb b/apps/workbench/test/integration/application_layout_test.rb index 78842a408a..19bb4c1c84 100644 --- a/apps/workbench/test/integration/application_layout_test.rb +++ b/apps/workbench/test/integration/application_layout_test.rb @@ -213,8 +213,8 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest page.find('.glyphicon-search').click end - # we should now be in the user's page as a result of search - assert page.has_text? user['first_name'] + # we should now be in the user's home project as a result of search + assert_selector "#Data_collections[data-object-uuid='#{user['uuid']}']" # let's search again for an invalid valid uuid within('.navbar-fixed-top') do