Revert "Upstream 20240517"

This commit is contained in:
KMY(雪あすか) 2024-05-24 08:15:12 +09:00 committed by GitHub
parent 9c006fd893
commit f6dec44e95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2347 changed files with 26470 additions and 87494 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
RSpec.configure do |config|
config.after(:each, :js, type: :system) do
config.after(:each, type: :system) do
errors = page.driver.browser.logs.get(:browser)
if errors.present?
aggregate_failures 'javascript errrors' do
@ -9,8 +9,8 @@ RSpec.configure do |config|
expect(error.level).to_not eq('SEVERE'), error.message
next unless error.level == 'WARNING'
warn 'WARN: javascript warning'
warn error.message
$stderr.warn 'WARN: javascript warning'
$stderr.warn error.message
end
end
end