X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7d598997ce1851f37ac0ec21c47abc76d5e84277..f6634dddac1489a463a5eba713a0908a9c72e212:/apps/workbench/test/integration/application_layout_test.rb?ds=sidebyside diff --git a/apps/workbench/test/integration/application_layout_test.rb b/apps/workbench/test/integration/application_layout_test.rb index 8a0ebc3c29..78842a408a 100644 --- a/apps/workbench/test/integration/application_layout_test.rb +++ b/apps/workbench/test/integration/application_layout_test.rb @@ -190,14 +190,14 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest end end - assert page.has_text? profile_message[0,25] + assert page.has_text? profile_message.gsub(/<.*?>/,'') assert page.has_text? required_field_title page.find_field('user[prefs][:profile][:'+required_field_key+']').set 'value to fill required field' click_button "Save profile" # profile saved and in profile page now with success assert page.has_text? 'Thank you for filling in your profile' - click_button 'Access Arvados Workbench' + click_link 'Back to work' # profile saved and in home page now assert page.has_text? 'My projects'