From e17238f1216853befd9605eb4a85982e6931cbc6 Mon Sep 17 00:00:00 2001
From: Sanad Liaquat <sliaquat@gitlab.com>
Date: Wed, 19 Jan 2022 13:22:48 +0000
Subject: [PATCH] Fix qa selector for project visibility setting save button

---
 .../projects/shared/permissions/components/settings_panel.vue  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue b/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue
index 9393ec68586..d5e00f54e91 100644
--- a/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue
+++ b/app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue
@@ -794,7 +794,6 @@ export default {
     </project-setting-row>
     <confirm-danger
       v-if="isVisibilityReduced"
-      button-class="qa-visibility-features-permissions-save-button"
       button-variant="confirm"
       :disabled="false"
       :phrase="confirmationPhrase"
@@ -807,7 +806,7 @@ export default {
       type="submit"
       variant="confirm"
       data-testid="project-features-save-button"
-      button-class="qa-visibility-features-permissions-save-button"
+      data-qa-selector="visibility_features_permissions_save_button"
     >
       {{ $options.i18n.confirmButtonText }}
     </gl-button>
-- 
2.30.9