diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-26 15:10:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-26 15:10:41 +0300 |
commit | 04f9cef437b65b4a62624936a37a99cfbfb4d61c (patch) | |
tree | 9edb887220b45ecd69f2aefa22a0fea09ed03ee1 /spec/features/projects/feature_flag_user_lists/user_deletes_feature_flag_user_list_spec.rb | |
parent | 47d07def1648ffc0787fe92ea5e351ccc5e9c4a4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/feature_flag_user_lists/user_deletes_feature_flag_user_list_spec.rb')
-rw-r--r-- | spec/features/projects/feature_flag_user_lists/user_deletes_feature_flag_user_list_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/features/projects/feature_flag_user_lists/user_deletes_feature_flag_user_list_spec.rb b/spec/features/projects/feature_flag_user_lists/user_deletes_feature_flag_user_list_spec.rb index 2a81c706525..37d6f299883 100644 --- a/spec/features/projects/feature_flag_user_lists/user_deletes_feature_flag_user_list_spec.rb +++ b/spec/features/projects/feature_flag_user_lists/user_deletes_feature_flag_user_list_spec.rb @@ -17,12 +17,13 @@ RSpec.describe 'User deletes feature flag user list', :js do end it 'deletes the list' do - visit(project_feature_flags_path(project, scope: 'userLists')) + visit(project_feature_flags_user_lists_path(project, scope: 'userLists')) delete_user_list_button.click delete_user_list_modal_confirmation_button.click - expect(page).to have_text('Lists 0') + expect(page).to have_text('Lists') + expect(page).not_to have_selector('[data-testid="ffUserListName"]') end end @@ -34,7 +35,7 @@ RSpec.describe 'User deletes feature flag user list', :js do end it 'does not delete the list' do - visit(project_feature_flags_path(project, scope: 'userLists')) + visit(project_feature_flags_user_lists_path(project, scope: 'userLists')) delete_user_list_button.click delete_user_list_modal_confirmation_button.click |