diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 12:09:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 12:09:55 +0300 |
commit | d06c308380072db8cfac10f27fc114f6093ce8b6 (patch) | |
tree | 5d54d354c496afb31d28cc93c728a95e6d014fe3 /spec/features/registrations | |
parent | fb10c412ec153dd64a9c5ce98e6c6091621e62c2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/registrations')
-rw-r--r-- | spec/features/registrations/experience_level_spec.rb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/spec/features/registrations/experience_level_spec.rb b/spec/features/registrations/experience_level_spec.rb index d08bcc76ac8..06d380926cd 100644 --- a/spec/features/registrations/experience_level_spec.rb +++ b/spec/features/registrations/experience_level_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' RSpec.describe 'Experience level screen' do - let_it_be(:user) { create(:user) } + let_it_be(:user) { create(:user, :unconfirmed) } let_it_be(:group) { create(:group) } before do @@ -32,4 +32,14 @@ RSpec.describe 'Experience level screen' do is_expected.to have_content('I’m familiar with the basics of project management and DevOps') is_expected.to have_content('Show me more advanced stuff') end + + it 'does not display any flash messages' do + is_expected.not_to have_selector('.flash-container') + is_expected.not_to have_content("Please check your email (#{user.email}) to verify that you own this address and unlock the power of CI/CD") + end + + it 'does not include the footer links' do + is_expected.not_to have_link('Help') + is_expected.not_to have_link('About GitLab') + end end |