From 903e49f38401ed6113f4e0ec159db8750d4db2ba Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 18 Aug 2014 18:18:55 -0400 Subject: [PATCH] 3114: Update test case: searching for own uuid now shows home project. --- apps/workbench/test/integration/application_layout_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2