From 64842bb98595ccfd929cfc73ac0a41067c46b2aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Ferrandis?= Date: Tue, 4 Mar 2025 18:47:31 +0100 Subject: [PATCH] Fin du bon fix --- spec/features/agents/oauth_provider_spec.rb | 2 +- spec/support/capybara_config.rb | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/features/agents/oauth_provider_spec.rb b/spec/features/agents/oauth_provider_spec.rb index 6c100562fb..21474ff29e 100644 --- a/spec/features/agents/oauth_provider_spec.rb +++ b/spec/features/agents/oauth_provider_spec.rb @@ -1,4 +1,4 @@ -RSpec.describe "OAuth provider", ignore_js_errors: true, js: true do +RSpec.describe "OAuth provider", js: true do # On fait quelque chose d'un peu inhabituel dans cette spec pour avoir un test d'intégration sur l'oauth # dans un contexte où notre application est le fournisseur d'oauth : on démarre une petite application # Sinatra qui joue le rôle d'une application externe (comme Démarches Simplifiées) qui propose un diff --git a/spec/support/capybara_config.rb b/spec/support/capybara_config.rb index 3af361c1c8..ea5b4405cb 100644 --- a/spec/support/capybara_config.rb +++ b/spec/support/capybara_config.rb @@ -41,8 +41,6 @@ RSpec.configure do |config| config.after(:each, js: true) do |example| - next if example.metadata[:ignore_js_errors] - logs = page.driver.browser.logs.get(:browser) aggregate_failures "javascript errors" do logs.each do |log|