Merge branch '4836-first-tab-load-wip'
[arvados.git] / apps / workbench / test / integration / user_profile_test.rb
index edee0640174a23c2ec92de919348afdbea2745d0..fd190a2042f48ad7e3de340ce6016e63733db473 100644 (file)
@@ -2,7 +2,7 @@ require 'integration_helper'
 require 'selenium-webdriver'
 require 'headless'
 
-class ApplicationLayoutTest < ActionDispatch::IntegrationTest
+class UserProfileTest < ActionDispatch::IntegrationTest
   setup do
     headless = Headless.new
     headless.start
@@ -25,7 +25,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
         assert page.has_text?('Save profile'), 'No text - Save profile'
         add_profile user
       else
-        assert page.has_text?('My projects'), 'Not found text - My projects'
+        assert page.has_text?('Active pipelines'), 'Not found text - Active pipelines'
         assert page.has_no_text?('Save profile'), 'Found text - Save profile'
       end
     elsif invited
@@ -106,8 +106,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
     click_link 'Back to work!'
 
     # profile saved and in home page now
-    assert page.has_text?('My projects'), 'No text - My projects'
-    assert page.has_text?('Projects shared with me'), 'No text - Projects shared with me'
+    assert page.has_text?('Active pipelines'), 'No text - Active pipelines'
   end
 
   [