diff --git a/buildtools/check-example.js b/buildtools/check-example.js index 396d54eec03d..fc3d676e0ffa 100644 --- a/buildtools/check-example.js +++ b/buildtools/check-example.js @@ -268,7 +268,10 @@ function loaded(page, browser) { console.log(`Console ${type}`); console.log(`On: ${location.url} ${location.lineNumber}:${location.columnNumber}.`); console.log(message.text()); - if (!message.text().includes('CORS')) { + if ( + !message.text().includes('CORS') && + !message.text().includes(' [DOM] Password field is not contained in a form') + ) { await browser.close(); process.exit(2); }