assert page.has_text?('Save profile'), 'No text - Save profile'
add_profile user
else
- assert page.has_text?('Active pipelines'), 'Not found text - Active pipelines'
+ assert page.has_text?('Active processes'), 'Not found text - Active processes'
assert page.has_no_text?('Save profile'), 'Found text - Save profile'
end
elsif invited
end
# profile saved and in home page now
- assert page.has_text?('Active pipelines'), 'No text - Active pipelines'
+ assert page.has_text?('Active processes'), 'No text - Active processes'
end
[
test "visit home page when profile is configured for user #{token}" do
# Our test config enabled profile by default. So, no need to update config
+ Rails.configuration.enable_getting_started_popup = true
+
if !token
visit ('/')
else
test "visit home page when profile not configured for user #{token}" do
Rails.configuration.user_profile_form_fields = false
+ Rails.configuration.enable_getting_started_popup = true
if !token
visit ('/')