From 6675099d2c73f17e47ca3f05b6e16b64c3cb9df3 Mon Sep 17 00:00:00 2001
From: Andrejs Cunskis <acunskis@gitlab.com>
Date: Fri, 25 Oct 2024 15:06:40 +0000
Subject: [PATCH] Quarantine flaky dep scanning e2e spec

---
 .../13_secure/enable_scanning_from_configuration_spec.rb  | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/qa/qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb b/qa/qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb
index 089b1f61070e7..4349fb32ead4b 100644
--- a/qa/qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb
+++ b/qa/qa/specs/features/ee/browser_ui/13_secure/enable_scanning_from_configuration_spec.rb
@@ -1,8 +1,12 @@
 # frozen_string_literal: true
 
 module QA
-  RSpec.describe 'Secure', product_group: :static_analysis do
-    context 'Enable Scanning from UI' do
+  RSpec.describe 'Secure', product_group: :static_analysis, quarantine: {
+    issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/498138',
+    type: :flaky,
+    only: { job: /cng-instance/ }
+  } do
+    describe 'Enable Scanning from UI' do
       let(:test_data_sast_string_fields_array) do
         [
           %w[SECURE_ANALYZERS_PREFIX registry.example.com],
-- 
GitLab