Commit eeff4d2c 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 5e5ca6b7
......@@ -18,5 +18,5 @@
= _('Choose the top-level group for your repository imports.')
.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'
......@@ -10,7 +10,7 @@ You can do it by following next steps:
1. Click on the **Manifest file** button
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. 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. 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
visit new_import_manifest_path
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_content('https://android-review.googlesource.com/platform/build/blueprint')
......@@ -26,7 +26,7 @@ feature 'Import multiple repositories by uploading a manifest file', :js, :postg
visit new_import_manifest_path
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
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