diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 18:42:06 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 18:42:06 +0000 |
commit | 6e4e1050d9dba2b7b2523fdd1768823ab85feef4 (patch) | |
tree | 78be5963ec075d80116a932011d695dd33910b4e /spec/features/import/manifest_import_spec.rb | |
parent | 1ce776de4ae122aba3f349c02c17cebeaa8ecf07 (diff) | |
download | gitlab-ce-6e4e1050d9dba2b7b2523fdd1768823ab85feef4.tar.gz |
Add latest changes from gitlab-org/gitlab@13-3-stable-ee
Diffstat (limited to 'spec/features/import/manifest_import_spec.rb')
-rw-r--r-- | spec/features/import/manifest_import_spec.rb | 8 |
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 |