Commit 9ee40b20 authored by Tiffany Rea's avatar Tiffany Rea

Merge branch 'change-after-block' into 'master'

Adding conditional after suite block to remove projects

See merge request gitlab-org/gitlab!83809
parents b0a4f182 b7569fc7
......@@ -47,10 +47,6 @@ module QA
project.visit!
end
after do
project.remove_via_api! if project
end
describe 'enable dependency scanning from configuration' do
it 'runs dependency scanning job when enabled from configuration', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347621' do
Page::Project::Menu.perform(&:click_on_security_configuration_link)
......
......@@ -24,10 +24,6 @@ module QA
@project.visit!
end
after(:context) do
@project&.remove_via_api! if @project
end
it 'dependency list has empty state', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348004' do
Page::Project::Menu.perform(&:click_on_dependency_list)
......
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