Rename button at manifest import form

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2018-07-09 10:55:10 +03:00
parent ca3d185dac
commit 97751ca19f
4 changed files with 4 additions and 4 deletions

View File

@ -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'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -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.

View File

@ -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'