Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-22 23:47:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-22 23:47:30 +0300
commit0ca9e9b7230cb262a04b524aee8ffe99dbe63060 (patch)
treeb26b9c2667a025a7e72f690e6789292028ece9de /spec
parentfe69f9a3841ee9b9ef2b35cb72b3e973c0301fcb (diff)
Add latest changes from gitlab-org/gitlab@13-11-stable-ee
Diffstat (limited to 'spec')
-rw-r--r--spec/features/projects/members/groups_with_access_list_spec.rb2
-rw-r--r--spec/frontend/whats_new/utils/notification_spec.js13
2 files changed, 1 insertions, 14 deletions
diff --git a/spec/features/projects/members/groups_with_access_list_spec.rb b/spec/features/projects/members/groups_with_access_list_spec.rb
index 6a1d26983b5..84a972b3027 100644
--- a/spec/features/projects/members/groups_with_access_list_spec.rb
+++ b/spec/features/projects/members/groups_with_access_list_spec.rb
@@ -78,7 +78,7 @@ RSpec.describe 'Projects > Members > Groups with access list', :js do
context 'search in existing members' do
it 'finds no results' do
- fill_in_filtered_search 'Search groups', with: 'testing 123'
+ fill_in_filtered_search 'Search groups', with: 'non_existing_group_name'
click_groups_tab
diff --git a/spec/frontend/whats_new/utils/notification_spec.js b/spec/frontend/whats_new/utils/notification_spec.js
index e1de65df30f..c361f934e59 100644
--- a/spec/frontend/whats_new/utils/notification_spec.js
+++ b/spec/frontend/whats_new/utils/notification_spec.js
@@ -33,19 +33,6 @@ describe('~/whats_new/utils/notification', () => {
expect(notificationEl.classList).toContain('with-notifications');
});
- it('removes class and count element when legacy storage key is false', () => {
- const notificationEl = findNotificationEl();
- notificationEl.classList.add('with-notifications');
- localStorage.setItem('display-whats-new-notification-13.10', 'false');
-
- expect(findNotificationCountEl()).toExist();
-
- subject();
-
- expect(findNotificationCountEl()).not.toExist();
- expect(notificationEl.classList).not.toContain('with-notifications');
- });
-
it('removes class and count element when storage key has current digest', () => {
const notificationEl = findNotificationEl();
notificationEl.classList.add('with-notifications');