Commit 97751ca1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Rename button at manifest import form

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent ca3d185d
...@@ -18,5 +18,5 @@ ...@@ -18,5 +18,5 @@
= _('Choose the top-level group for your repository imports.') = _('Choose the top-level group for your repository imports.')
.append-bottom-10 .append-bottom-10
= submit_tag 'Continue to the next step', class: 'btn btn-success' = submit_tag 'List available repositories', class: 'btn btn-success'
= link_to 'Cancel', new_project_path, class: 'btn btn-cancel' = link_to 'Cancel', new_project_path, class: 'btn btn-cancel'
...@@ -10,7 +10,7 @@ You can do it by following next steps: ...@@ -10,7 +10,7 @@ You can do it by following next steps:
1. Click on the **Manifest file** button 1. Click on the **Manifest file** button
1. Provide GitLab with a manifest xml file 1. Provide GitLab with a manifest xml file
1. Select a group you want to import to (you need to create a group first if you don't have one) 1. Select a group you want to import to (you need to create a group first if you don't have one)
1. Click **Continue to the next step** 1. Click **List available repositories**
1. You will be redirected to the import status page with projects list based on manifest file 1. You will be redirected to the import status page with projects list based on manifest file
1. Check the list and click 'Import all repositories' to start import. 1. Check the list and click 'Import all repositories' to start import.
......
...@@ -16,7 +16,7 @@ feature 'Import multiple repositories by uploading a manifest file', :js, :postg ...@@ -16,7 +16,7 @@ feature 'Import multiple repositories by uploading a manifest file', :js, :postg
visit new_import_manifest_path visit new_import_manifest_path
attach_file('manifest', Rails.root.join('spec/fixtures/aosp_manifest.xml')) attach_file('manifest', Rails.root.join('spec/fixtures/aosp_manifest.xml'))
click_on 'Continue to the next step' click_on 'List available repositories'
expect(page).to have_button('Import all repositories') expect(page).to have_button('Import all repositories')
expect(page).to have_content('https://android-review.googlesource.com/platform/build/blueprint') expect(page).to have_content('https://android-review.googlesource.com/platform/build/blueprint')
...@@ -26,7 +26,7 @@ feature 'Import multiple repositories by uploading a manifest file', :js, :postg ...@@ -26,7 +26,7 @@ feature 'Import multiple repositories by uploading a manifest file', :js, :postg
visit new_import_manifest_path visit new_import_manifest_path
attach_file('manifest', Rails.root.join('spec/fixtures/aosp_manifest.xml')) attach_file('manifest', Rails.root.join('spec/fixtures/aosp_manifest.xml'))
click_on 'Continue to the next step' click_on 'List available repositories'
page.within(first_row) do page.within(first_row) do
click_on 'Import' click_on 'Import'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment