Unquarantine import project using instance template spec

parent 866fa42b
...@@ -65,7 +65,8 @@ module QA ...@@ -65,7 +65,8 @@ module QA
end end
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 before do
Flow::Login.sign_in_as_admin Flow::Login.sign_in_as_admin
...@@ -87,14 +88,15 @@ module QA ...@@ -87,14 +88,15 @@ module QA
Page::Group::Show.perform(&:go_to_new_project) Page::Group::Show.perform(&:go_to_new_project)
QA::Flow::Project.go_to_create_project_from_template QA::Flow::Project.go_to_create_project_from_template
Page::Project::New.perform(&:go_to_create_from_template_instance_tab)
end end
it 'successfully imports the project using template' do it 'successfully imports the project using template' do
Page::Project::New.perform do |new_page| Page::Project::New.perform do |new_page|
expect(new_page.instance_template_tab_badge_text).to eq "1" new_page.retry_until do
expect(new_page).to have_text(@template_project.name) 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 end
create_project_using_template(project_name: 'Project using instance level project template', 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