Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 8e73073e68b..23083203cfe 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -211,7 +211,6 @@ RSpec.configure do |config|
end
config.before(:suite) do
- Timecop.safe_mode = true
TestEnv.init
# Reload all feature flags definitions
@@ -271,6 +270,10 @@ RSpec.configure do |config|
# cause spec failures.
stub_feature_flags(use_click_house_database_for_error_tracking: false)
+ # Disable this to avoid the Web IDE modals popping up in tests:
+ # https://gitlab.com/gitlab-org/gitlab/-/issues/385453
+ stub_feature_flags(vscode_web_ide: false)
+
enable_rugged = example.metadata[:enable_rugged].present?
# Disable Rugged features by default