From 3d1b97cad829bc2b418faff5db834bd175424be0 Mon Sep 17 00:00:00 2001
From: Nao Hashizume <nhashizume@gitlab.com>
Date: Tue, 28 Jun 2022 19:14:43 +0000
Subject: [PATCH] Quarantine a broken:master spec on foss

---
 spec/features/projects/settings/repository_settings_spec.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/features/projects/settings/repository_settings_spec.rb b/spec/features/projects/settings/repository_settings_spec.rb
index cfdd3d9224dbe..def7b1f5420f7 100644
--- a/spec/features/projects/settings/repository_settings_spec.rb
+++ b/spec/features/projects/settings/repository_settings_spec.rb
@@ -167,14 +167,14 @@
         expect(project.remote_mirrors.first.only_protected_branches).to eq(false)
       end
 
-      it 'creates a push mirror that only mirrors protected branches', :js do
+      it 'creates a push mirror that only mirrors protected branches', :js,
+      quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/337394' do
         find('#only_protected_branches').click
 
         expect(find('.js-mirror-protected-hidden', visible: false).value).to eq('1')
 
         fill_in 'url', with: 'ssh://user@localhost/project.git'
         select 'SSH public key', from: 'Authentication method'
-
         select_direction
 
         Sidekiq::Testing.fake! do
-- 
GitLab