Skip to content

Commit

Permalink
vp test: adding error message to ignore errors for ESM pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayLevi committed Sep 25, 2024
1 parent a6666e7 commit b206a65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/specs/linksConsoleErrorsEsmPage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ function handleCommonEsmBrowsersErrors(linkName: string, consoleErrors: ConsoleM
);
break;
case 'VAST & VPAID Support':
validatePageErrors(consoleErrors, [], ["Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set"]);
validatePageErrors(consoleErrors, [], ["Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set", 'the server responded with a status of 404']);
break;
default:
expect(consoleErrors, `The following unexpected console errors were found: ${JSON.stringify(consoleErrors)}`).toHaveLength(0);
validatePageErrors(consoleErrors, [], ['the server responded with a status of 404']);
}
}

0 comments on commit b206a65

Please sign in to comment.