Skip to content
代码片段 群组 项目
未验证 提交 44369729 编辑于 作者: Chloe Liu's avatar Chloe Liu 提交者: GitLab
浏览文件

Merge branch 'hm-promote-govern-specs-to-smoke' into 'master'

Promote govern specs to smoke

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/160341



Merged-by: default avatarChloe Liu <yliu@gitlab.com>
Approved-by: default avatarWill Meek <wmeek@gitlab.com>
Approved-by: default avatarChloe Liu <yliu@gitlab.com>
Co-authored-by: default avatarhmuralidhar <hmuralidhar@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -23,7 +23,7 @@ module QA
end
it(
'can be used to create a file via the project API', :blocking,
'can be used to create a file via the project API', :smoke,
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/367064'
) do
expect do
......@@ -38,7 +38,7 @@ module QA
end
it(
'can be used to commit via the API', :blocking,
'can be used to commit via the API', :smoke,
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/367067'
) do
expect do
......
......@@ -17,7 +17,7 @@ module QA
end
context 'for the same project' do
it 'can be used to create a file via the project API', :blocking,
it 'can be used to create a file via the project API', :smoke,
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347858' do
expect do
create(:file,
......@@ -30,7 +30,7 @@ module QA
end.not_to raise_error
end
it 'can be used to commit via the API', :blocking,
it 'can be used to commit via the API', :smoke,
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347859' do
expect do
create(:commit,
......@@ -61,7 +61,7 @@ module QA
different_project.remove_via_api!
end
it 'cannot be used to create a file via the project API', :blocking,
it 'cannot be used to create a file via the project API', :smoke,
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347860' do
expect do
create(:file,
......@@ -71,7 +71,7 @@ module QA
end.to raise_error(Resource::ApiFabricator::ResourceFabricationFailedError, /403 Forbidden/)
end
it 'cannot be used to commit via the API', :blocking,
it 'cannot be used to commit via the API', :smoke,
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347861' do
expect do
create(:commit,
......
......@@ -6,7 +6,7 @@ module QA
let(:group_access_token) { QA::Resource::GroupAccessToken.fabricate_via_browser_ui! }
it(
'can be created and revoked via the UI', :blocking,
'can be created and revoked via the UI', :smoke,
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/367044'
) do
expect(group_access_token.token).not_to be_nil
......
......@@ -37,7 +37,7 @@ module QA
project.visit!
end
it 'can successfully change status of a vulnerability in vulnerability details page', :blocking,
it 'can successfully change status of a vulnerability in vulnerability details page', :smoke,
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/361048' do
Page::Project::Menu.perform(&:go_to_vulnerability_report)
......@@ -60,7 +60,7 @@ module QA
end
end
it 'can successfully bulk change status to confirmed in vulnerability report', :blocking,
it 'can successfully bulk change status to confirmed in vulnerability report', :smoke,
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/361405' do
Page::Project::Menu.perform(&:go_to_vulnerability_report)
bulk_change_status(confirmed_state)
......
# frozen_string_literal: true
module QA
RSpec.describe 'Govern', :runner, :blocking, :external_api_calls, product_group: :threat_insights do
RSpec.describe 'Govern', :runner, :smoke, :external_api_calls, product_group: :threat_insights do
describe 'Project vulnerability report' do
let(:vuln_name) { "Regular Expression Denial of Service in debug" }
let(:vuln_description) do
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册