projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4533: Merge branch 'master' into 4533-remote-reset
[arvados.git]
/
apps
/
workbench
/
test
/
integration
/
user_profile_test.rb
diff --git
a/apps/workbench/test/integration/user_profile_test.rb
b/apps/workbench/test/integration/user_profile_test.rb
index ede67ff36aff82dd661a2cb0f2ebc1df6996e724..e79a132cc2656d02497e20ea8eafa23494785b75 100644
(file)
--- a/
apps/workbench/test/integration/user_profile_test.rb
+++ b/
apps/workbench/test/integration/user_profile_test.rb
@@
-3,6
+3,8
@@
require 'selenium-webdriver'
require 'headless'
class UserProfileTest < ActionDispatch::IntegrationTest
require 'headless'
class UserProfileTest < ActionDispatch::IntegrationTest
+ reset_api_fixtures :after_suite
+
setup do
headless = Headless.new
headless.start
setup do
headless = Headless.new
headless.start
@@
-25,7
+27,7
@@
class UserProfileTest < ActionDispatch::IntegrationTest
assert page.has_text?('Save profile'), 'No text - Save profile'
add_profile user
else
assert page.has_text?('Save profile'), 'No text - Save profile'
add_profile user
else
- assert page.has_text?('
My projects'), 'Not found text - My project
s'
+ assert page.has_text?('
Active pipelines'), 'Not found text - Active pipeline
s'
assert page.has_no_text?('Save profile'), 'Found text - Save profile'
end
elsif invited
assert page.has_no_text?('Save profile'), 'Found text - Save profile'
end
elsif invited
@@
-106,8
+108,7
@@
class UserProfileTest < ActionDispatch::IntegrationTest
click_link 'Back to work!'
# profile saved and in home page now
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
[
end
[