Commit ad649e9c authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'qa-shl-unquarantine-create-project-from-instance-template-spec' into 'master'

Un-quarantine import project using instance template spec

See merge request gitlab-org/gitlab!36707
parents ae4b07f7 e9ccbae9
......@@ -65,7 +65,8 @@ module QA
end
end
context 'instance level', :requires_admin, quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/13418', type: :bug } do
# Skipping on staging due to: https://gitlab.com/gitlab-org/gitlab/-/issues/228624
context 'instance level', :requires_admin, :skip_live_env do
before do
Flow::Login.sign_in_as_admin
......@@ -87,14 +88,15 @@ module QA
Page::Group::Show.perform(&:go_to_new_project)
QA::Flow::Project.go_to_create_project_from_template
Page::Project::New.perform(&:go_to_create_from_template_instance_tab)
end
it 'successfully imports the project using template' do
Page::Project::New.perform do |new_page|
expect(new_page.instance_template_tab_badge_text).to eq "1"
expect(new_page).to have_text(@template_project.name)
new_page.retry_until do
new_page.go_to_create_from_template_instance_tab
expect(new_page.instance_template_tab_badge_text).to eq "1"
new_page.has_text?(@template_project.name)
end
end
create_project_using_template(project_name: 'Project using instance level project template',
......
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