Skip to content

Commit

Permalink
Ignore new error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 26, 2024
1 parent 5f272e0 commit 231890f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion buildtools/check-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 231890f

Please sign in to comment.