diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 18:25:58 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 18:25:58 +0000 |
commit | a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (patch) | |
tree | fb69158581673816a8cd895f9d352dcb3c678b1e /spec/features/groups/import_export/import_file_spec.rb | |
parent | d16b2e8639e99961de6ddc93909f3bb5c1445ba1 (diff) | |
download | gitlab-ce-a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4.tar.gz |
Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42
Diffstat (limited to 'spec/features/groups/import_export/import_file_spec.rb')
-rw-r--r-- | spec/features/groups/import_export/import_file_spec.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/features/groups/import_export/import_file_spec.rb b/spec/features/groups/import_export/import_file_spec.rb index 7018f3b1086..08295a3392a 100644 --- a/spec/features/groups/import_export/import_file_spec.rb +++ b/spec/features/groups/import_export/import_file_spec.rb @@ -28,9 +28,9 @@ RSpec.describe 'Import/Export - Group Import', :js do group_name = 'Test Group Import' visit new_group_path + click_link 'Import group' - fill_in :group_name, with: group_name - find('#import-group-tab').click + fill_in :import_group_name, with: group_name expect(page).to have_content 'Import group from file' attach_file(file) do @@ -51,9 +51,9 @@ RSpec.describe 'Import/Export - Group Import', :js do context 'when modifying the pre-filled path' do it 'successfully imports the group' do visit new_group_path + click_link 'Import group' - fill_in :group_name, with: 'Test Group Import' - find('#import-group-tab').click + fill_in :import_group_name, with: 'Test Group Import' fill_in :import_group_path, with: 'custom-path' attach_file(file) do @@ -74,7 +74,7 @@ RSpec.describe 'Import/Export - Group Import', :js do it 'suggests a unique path' do visit new_group_path - find('#import-group-tab').click + click_link 'Import group' fill_in :import_group_path, with: 'test-group-import' expect(page).to have_content 'Group path is already taken. Suggestions: test-group-import1' @@ -87,9 +87,9 @@ RSpec.describe 'Import/Export - Group Import', :js do it 'displays an error' do visit new_group_path + click_link 'Import group' - fill_in :group_name, with: 'Test Group Import' - find('#import-group-tab').click + fill_in :import_group_name, with: 'Test Group Import' attach_file(file) do find('.js-filepicker-button').click end |