diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-01 09:11:01 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-01 09:11:01 +0000 |
commit | c7cb37255796023730d0e31324a533e55e25bc46 (patch) | |
tree | 5140bef8ec205dd79b71066aa3ed3a3e4cb00be0 /spec/features/groups | |
parent | 21543f57d625a70c3884d1915fa14ad340d01edc (diff) | |
download | gitlab-ce-c7cb37255796023730d0e31324a533e55e25bc46.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/groups')
-rw-r--r-- | spec/features/groups/show_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/features/groups/show_spec.rb b/spec/features/groups/show_spec.rb index 5067f11be67..4e213f65108 100644 --- a/spec/features/groups/show_spec.rb +++ b/spec/features/groups/show_spec.rb @@ -163,7 +163,6 @@ RSpec.describe 'Group show page' do let!(:project) { create(:project, namespace: group) } before do - stub_feature_flags(vue_notification_dropdown: false) group.add_maintainer(maintainer) sign_in(maintainer) end @@ -171,14 +170,14 @@ RSpec.describe 'Group show page' do it 'is enabled by default' do visit path - expect(page).to have_selector('.notifications-btn:not(.disabled)', visible: true) + expect(page).to have_selector('[data-testid="notification-button"]:not(.disabled)') end it 'is disabled if emails are disabled' do group.update_attribute(:emails_disabled, true) visit path - expect(page).to have_selector('.notifications-btn.disabled', visible: true) + expect(page).to have_selector('[data-testid="notification-button"].disabled') end end |