diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
commit | 7e9c479f7de77702622631cff2628a9c8dcbc627 (patch) | |
tree | c8f718a08e110ad7e1894510980d2155a6549197 /spec/features/groups/members/search_members_spec.rb | |
parent | e852b0ae16db4052c1c567d9efa4facc81146e88 (diff) |
Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42
Diffstat (limited to 'spec/features/groups/members/search_members_spec.rb')
-rw-r--r-- | spec/features/groups/members/search_members_spec.rb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/spec/features/groups/members/search_members_spec.rb b/spec/features/groups/members/search_members_spec.rb index a95b59cece1..0b2d2fd478d 100644 --- a/spec/features/groups/members/search_members_spec.rb +++ b/spec/features/groups/members/search_members_spec.rb @@ -2,7 +2,9 @@ require 'spec_helper' -RSpec.describe 'Search group member' do +RSpec.describe 'Search group member', :js do + include Spec::Support::Helpers::Features::MembersHelpers + let(:user) { create :user } let(:member) { create :user } @@ -14,8 +16,6 @@ RSpec.describe 'Search group member' do end before do - stub_feature_flags(vue_group_members_list: false) - sign_in(user) visit group_group_members_path(guest_group) end @@ -23,11 +23,10 @@ RSpec.describe 'Search group member' do it 'renders member users' do page.within '[data-testid="user-search-form"]' do fill_in 'search', with: member.name - find('.user-search-btn').click + find('[data-testid="user-search-submit"]').click end - group_members_list = find('[data-qa-selector="members_list"]') - expect(group_members_list).to have_content(member.name) - expect(group_members_list).not_to have_content(user.name) + expect(members_table).to have_content(member.name) + expect(members_table).not_to have_content(user.name) end end |