From 04dfc1a2aae3f031ff9750c716010b0ef6ee7036 Mon Sep 17 00:00:00 2001 From: Polycarp Kavoo Kyalo Date: Mon, 28 Dec 2020 03:35:04 +0300 Subject: [PATCH] added new specs file --- .../project/import_bitbucket_cloud_spec.rb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 qa/qa/specs/features/browser_ui/1_manage/project/import_bitbucket_cloud_spec.rb 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 00000000000000..d19548655f7bb6 --- /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 + + -- GitLab