mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06:34 +03:00
Suppress FF warnings in e2e
This commit is contained in:
parent
f9885c01e8
commit
803410da40
|
@ -48,6 +48,11 @@ function verifyNoBrowserErrors() {
|
|||
if (message.indexOf('browser-sync') > -1) return false;
|
||||
// skip firefox-specific warning
|
||||
if (message.indexOf('mutating the [[Prototype]]') > -1) return false;
|
||||
if (message.match(/^Unknown property.*Declaration dropped/)) return false;
|
||||
if (message.match(/^Error in parsing value for.*Declaration dropped/)) return false;
|
||||
if (message.indexOf('The character encoding of the HTML document was not declared') > -1) return false;
|
||||
if (message.match(/addons.manager\s+DEBUG/)) return false;
|
||||
|
||||
|
||||
if (logEntry.level.value >= LogLevel.INFO) {
|
||||
if (message.length > MAX_ERROR_MESSAGE_SYMBOLS) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user