diff --git a/qa/qa/specs/features/browser_ui/1_manage/project/import_bitbucket_cloud_spec.rb b/qa/qa/specs/features/browser_ui/1_manage/project/import_bitbucket_cloud_spec.rb new file mode 100644 index 0000000000000000000000000000000000000000..d19548655f7bb67dfe4b3753d260451be95ca3c5 --- /dev/null +++ b/qa/qa/specs/features/browser_ui/1_manage/project/import_bitbucket_cloud_spec.rb @@ -0,0 +1,22 @@ +# frozen_string_literal: true + +module QA + RSpec.describe 'Manage', :github, :requires_admin do + describe 'Import project from Bitbucket Cloud' do + it 'imports a Bitbucket repo' do + Flow::Login.sign_in + Page::Main::Menu.perform(&:go_to_projects) + + click_on(class: 'gl-button') + + find("a[href='#import_project']").click + + click_link('Bitbucket Cloud') + + expect(page).to have_content("Import projects from Bitbucket") + end + end + end +end + +