Commit 2134f964 authored by Dan Davison's avatar Dan Davison

Merge branch 'ml-add-status-issue-tags-enablement-configure-monitor-secure' into 'master'

Add status_issue rspec tags for e2e tests

See merge request gitlab-org/gitlab!40216
parents ae81cd5d 48e9f2e1
......@@ -23,7 +23,7 @@ module QA
cluster&.remove!
end
it 'runs auto devops' do
it 'runs auto devops', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/702' do
Flow::Login.sign_in
# Set an application secret CI variable (prefixed with K8S_SECRET_)
......@@ -116,7 +116,7 @@ module QA
end
end
it 'runs an AutoDevOps pipeline' do
it 'runs an AutoDevOps pipeline', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/444' do
Page::Project::Menu.perform(&:click_ci_cd_pipelines)
Page::Project::Pipeline::Index.perform(&:click_on_latest_pipeline)
......
......@@ -20,7 +20,7 @@ module QA
cluster.remove!
end
it 'can create and associate a project cluster', :smoke do
it 'can create and associate a project cluster', :smoke, status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/707' do
Resource::KubernetesCluster::ProjectCluster.fabricate_via_browser_ui! do |k8s_cluster|
k8s_cluster.project = project
k8s_cluster.cluster = cluster
......
......@@ -10,13 +10,13 @@ module QA
@project.visit!
end
it 'configures custom metrics' do
it 'configures custom metrics', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/872' do
verify_add_custom_metric
verify_edit_custom_metric
verify_delete_custom_metric
end
it 'duplicates to create dashboard to custom' do
it 'duplicates to create dashboard to custom', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/871' do
Page::Project::Menu.perform(&:go_to_operations_metrics)
Page::Project::Operations::Metrics::Show.perform do |on_dashboard|
......@@ -27,7 +27,7 @@ module QA
end
end
it 'verifies data on filtered deployed environment' do
it 'verifies data on filtered deployed environment', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/874' do
Page::Project::Menu.perform(&:go_to_operations_metrics)
Page::Project::Operations::Metrics::Show.perform do |on_dashboard|
......@@ -37,7 +37,7 @@ module QA
end
end
it 'filters using the quick range' do
it 'filters using the quick range', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/873' do
Page::Project::Menu.perform(&:go_to_operations_metrics)
Page::Project::Operations::Metrics::Show.perform do |on_dashboard|
......@@ -52,7 +52,7 @@ module QA
end
end
it 'observes cluster health graph' do
it 'observes cluster health graph', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/920' do
Page::Project::Menu.perform(&:go_to_operations_kubernetes)
Page::Project::Operations::Kubernetes::Index.perform do |cluster_list|
......
......@@ -44,11 +44,11 @@ module QA
end
context 'when searching for projects using advanced syntax' do
it 'searches in the project name' do
it 'searches in the project name', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/747' do
expect_search_to_find_project("es-adv-*#{project_name_suffix}")
end
it 'searches in the project description' do
it 'searches in the project description', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/748' do
expect_search_to_find_project("unique +#{project_name_suffix}")
end
end
......
......@@ -44,7 +44,7 @@ module QA
end
end
it 'searches public project and finds a blob as an non-member user' do
it 'searches public project and finds a blob as an non-member user', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/744' do
successful_search(non_member_api_client)
end
......@@ -53,11 +53,11 @@ module QA
project.set_visibility(:private)
end
it 'finds a blob as an authorized user' do
it 'finds a blob as an authorized user', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/745' do
successful_search(api_client)
end
it 'does not find a blob as an non-member user' do
it 'does not find a blob as an non-member user', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/746' do
QA::Support::Retrier.retry_on_exception(max_attempts: 10, sleep_interval: 12) do
get Runtime::Search.create_search_request(non_member_api_client, 'blobs', project_file_content).url
expect_status(QA::Support::Api::HTTP_STATUS_OK)
......
......@@ -11,7 +11,7 @@ module QA
@project.visit!
end
it 'allows configuration of alerts', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/233409', type: :flaky } do
it 'allows configuration of alerts', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/233409', type: :flaky }, status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/869' do
Page::Project::Menu.perform(&:go_to_operations_metrics)
Page::Project::Operations::Metrics::Show.perform do |on_dashboard|
......@@ -23,7 +23,7 @@ module QA
end
end
it 'creates an incident template and opens an incident with template applied', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/236203', type: :investigating } do
it 'creates an incident template and opens an incident with template applied', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/236203', type: :investigating }, status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/981' do
create_incident_template
Page::Project::Menu.perform(&:go_to_operations_settings)
......
......@@ -29,7 +29,7 @@ module QA
end.project.visit!
end
it 'tests reindexing after push', retry: 3 do
it 'tests reindexing after push', retry: 3, status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/679' do
expect { Runtime::Search.find_code(project_file_name, project_file_content) }.not_to raise_error
QA::Page::Main::Menu.perform do |menu|
......@@ -43,7 +43,7 @@ module QA
end
end
it 'tests reindexing after webIDE', retry: 3 do
it 'tests reindexing after webIDE', retry: 3, status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/680' do
template = {
file_name: 'LICENSE',
name: 'Mozilla Public License 2.0',
......
......@@ -59,7 +59,7 @@ module QA
merge_request.visit!
end
it 'displays the Security reports in the merge request' do
it 'displays the Security reports in the merge request', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/538' do
Page::MergeRequest::Show.perform do |merge_request|
expect(merge_request).to have_vulnerability_report
expect(merge_request).to have_vulnerability_count
......
......@@ -45,7 +45,7 @@ module QA
Flow::Login.sign_in_unless_signed_in
end
it 'can approve a license in the license compliance page' do
it 'can approve a license in the license compliance page', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/964' do
@project.visit!
Page::Project::Menu.perform(&:click_on_license_compliance)
......@@ -57,7 +57,7 @@ module QA
end
end
it 'can deny a license in the settings page' do
it 'can deny a license in the settings page', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/963' do
@project.visit!
Page::Project::Menu.perform(&:click_on_license_compliance)
......@@ -107,7 +107,7 @@ module QA
Page::Project::Pipeline::Index.perform(&:wait_for_latest_pipeline_success)
end
it 'can approve and deny licenses in the pipeline' do
it 'can approve and deny licenses in the pipeline', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/965' do
Page::Project::Menu.perform(&:click_ci_cd_pipelines)
Page::Project::Pipeline::Index.perform(&:click_on_latest_pipeline)
......
......@@ -116,7 +116,7 @@ module QA
Page::Project::Pipeline::Index.perform(&:wait_for_latest_pipeline_success)
end
it 'manage licenses from the merge request' do
it 'manage licenses from the merge request', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/575' do
@merge_request.visit!
Page::MergeRequest::Show.perform do |show|
......
......@@ -59,7 +59,7 @@ module QA
@runner.remove_via_api!
end
it 'shows vulnerability details' do
it 'shows vulnerability details', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/949' do
Flow::Login.sign_in_unless_signed_in
@project.visit!
Page::Project::Menu.perform(&:click_on_security_dashboard)
......
......@@ -49,7 +49,7 @@ module QA
@project.visit!
end
it 'displays security reports in the pipeline' do
it 'displays security reports in the pipeline', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/565' do
Page::Project::Menu.perform(&:click_ci_cd_pipelines)
Page::Project::Pipeline::Index.perform(&:click_on_latest_pipeline)
......@@ -74,7 +74,7 @@ module QA
end
end
it 'displays security reports in the project security dashboard' do
it 'displays security reports in the project security dashboard', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/566' do
Page::Project::Menu.perform(&:click_project)
Page::Project::Menu.perform(&:click_on_security_dashboard)
......@@ -97,7 +97,7 @@ module QA
end
end
it 'displays security reports in the group security dashboard' do
it 'displays security reports in the group security dashboard', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/567' do
Page::Main::Menu.perform(&:go_to_groups)
Page::Dashboard::Groups.perform do |groups|
groups.click_group @project.group.path
......@@ -131,7 +131,7 @@ module QA
end
end
it 'displays the Dependency List' do
it 'displays the Dependency List', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/564' do
Page::Project::Menu.perform(&:click_on_dependency_list)
EE::Page::Project::Secure::DependencyList.perform do |dependency_list|
......
......@@ -61,7 +61,7 @@ module QA
@merge_request.visit!
end
it 'can dismiss a vulnerability with a reason' do
it 'can dismiss a vulnerability with a reason', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/549' do
dismiss_reason = "Vulnerability not applicable"
Page::MergeRequest::Show.perform do |merge_request|
......@@ -73,7 +73,7 @@ module QA
end
end
it 'can create an issue from a vulnerability' do
it 'can create an issue from a vulnerability', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/548' do
Page::MergeRequest::Show.perform do |merge_request|
expect(merge_request).to have_vulnerability_report
merge_request.create_vulnerability_issue(vuln_name)
......@@ -84,7 +84,7 @@ module QA
end
end
it 'can create an auto-remediation MR' do
it 'can create an auto-remediation MR', status_issue: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/550' do
Page::MergeRequest::Show.perform do |merge_request|
expect(merge_request).to have_vulnerability_report
merge_request.resolve_vulnerability_with_mr remediable_vuln_name
......
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