From 0fb47d0cefe5f5d3f3866d15bf29147a03de38a1 Mon Sep 17 00:00:00 2001
From: John McDonnell <jmcdonnell@gitlab.com>
Date: Tue, 25 Jul 2023 10:35:51 +0100
Subject: [PATCH] Move import_group_button selector to correct element

Fixes https://gitlab.com/gitlab-org/gitlab/-/issues/419559
---
 .../import_groups/components/import_actions_cell.vue            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/assets/javascripts/import_entities/import_groups/components/import_actions_cell.vue b/app/assets/javascripts/import_entities/import_groups/components/import_actions_cell.vue
index cb1473302648e..678efc536f2e8 100644
--- a/app/assets/javascripts/import_entities/import_groups/components/import_actions_cell.vue
+++ b/app/assets/javascripts/import_entities/import_groups/components/import_actions_cell.vue
@@ -47,6 +47,7 @@ export default {
       <gl-button
         variant="confirm"
         category="secondary"
+        data-testid="import-group-button"
         @click="importGroup({ migrateProjects: true })"
         >{{ isFinished ? __('Re-import with projects') : __('Import with projects') }}</gl-button
       >
@@ -58,7 +59,6 @@ export default {
         no-caret
         variant="confirm"
         category="secondary"
-        data-qa-selector="import_group_button"
       >
         <gl-disclosure-dropdown-item @action="importGroup({ migrateProjects: false })">
           <template #list-item>
-- 
GitLab