Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-19 03:10:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-19 03:10:34 +0300
commit57a4861dd1841a53cb966b566b1eee4adb254675 (patch)
tree14f31aaf16966c72cb68a8434bee279877b701b3 /spec/features/import
parentbfce95a4c5e9d71ed523f48f3fb901d2b7af60f7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/import')
-rw-r--r--spec/features/import/manifest_import_spec.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/features/import/manifest_import_spec.rb b/spec/features/import/manifest_import_spec.rb
index 1efbc5642d4..9c359e932d5 100644
--- a/spec/features/import/manifest_import_spec.rb
+++ b/spec/features/import/manifest_import_spec.rb
@@ -24,7 +24,7 @@ RSpec.describe 'Import multiple repositories by uploading a manifest file', :js
expect(page).to have_content('https://android-review.googlesource.com/platform/build/blueprint')
end
- it 'imports successfully imports a project', :sidekiq_inline do
+ it 'imports a project successfully', :sidekiq_inline, :js do
visit new_import_manifest_path
attach_file('manifest', Rails.root.join('spec/fixtures/aosp_manifest.xml'))
@@ -32,7 +32,11 @@ RSpec.describe 'Import multiple repositories by uploading a manifest file', :js
page.within(second_row) do
click_on 'Import'
+ end
+
+ wait_for_requests
+ page.within(second_row) do
expect(page).to have_content 'Done'
expect(page).to have_content("#{group.full_path}/build/blueprint")
end
@@ -48,6 +52,6 @@ RSpec.describe 'Import multiple repositories by uploading a manifest file', :js
end
def second_row
- page.all('table.import-jobs tbody tr')[1]
+ page.all('table.import-table tbody tr')[1]
end
end