diff options
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/group/bulk_import.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qa/qa/page/group/bulk_import.rb b/qa/qa/page/group/bulk_import.rb index b9497aeb6e5..a62823f3469 100644 --- a/qa/qa/page/group/bulk_import.rb +++ b/qa/qa/page/group/bulk_import.rb @@ -33,7 +33,12 @@ module QA within_element(:import_item, source_group: source_group_name) do click_element(:target_namespace_selector_dropdown) click_element(:target_group_dropdown_item, group_name: target_group_name) - click_element(:import_group_button) + + retry_until do + click_element(:import_group_button) + # Make sure import started before waiting for completion + has_no_element?(:import_status_indicator, text: "Not started", wait: 1) + end end end |