-
-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more info to console error detection in integration tests #881
Conversation
Your Render PR Server URL is https://toolpad-pr-881.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-cc8c7fs41lsceb61mlgg. |
this was the run that had failed https://app.circleci.com/pipelines/github/mui/mui-toolpad/2858/workflows/1440fe9e-1988-4294-8558-e389259fae6a/jobs/10285 i guess it was something flaky with the test showing a console error but yeah, the message isn't very helpful :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
test/playwright/test.ts
Outdated
@@ -18,14 +19,21 @@ const IGNORED_ERRORS = [ | |||
|
|||
export const test = base.extend({ | |||
page: async ({ page }, use) => { | |||
const entries: ConsoleEntry[] = []; | |||
const entriePromises: Promise<ConsoleEntry>[] = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo :)
Make error more visible for debugging purposes