mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 23:28:08 +01:00
Ignore manifest JS parse/interrupt error on CI (#31080)
This commit is contained in:
parent
6ee5d3b559
commit
ef796446e5
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ RSpec.configure do |config|
|
||||||
# Classes of intermittent ignorable errors
|
# Classes of intermittent ignorable errors
|
||||||
ignored_errors = [
|
ignored_errors = [
|
||||||
/Error while trying to use the following icon from the Manifest/, # https://github.com/mastodon/mastodon/pull/30793
|
/Error while trying to use the following icon from the Manifest/, # https://github.com/mastodon/mastodon/pull/30793
|
||||||
|
/Manifest: Line: 1, column: 1, Syntax error/, # Similar parsing/interruption issue as above
|
||||||
]
|
]
|
||||||
errors = page.driver.browser.logs.get(:browser).reject do |error|
|
errors = page.driver.browser.logs.get(:browser).reject do |error|
|
||||||
ignored_errors.any? { |pattern| pattern.match(error.message) }
|
ignored_errors.any? { |pattern| pattern.match(error.message) }
|
||||||
|
|
Loading…
Reference in a new issue