Skip to content
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

Errors from runtime.js are not picked up #1558

Open
stevcooo opened this issue May 20, 2022 · 0 comments
Open

Errors from runtime.js are not picked up #1558

stevcooo opened this issue May 20, 2022 · 0 comments

Comments

@stevcooo
Copy link

I have a test that deals with drawing SVG on the browser, and if I don't provide for example radius parameter in the circle element, the test will pass because I don't assert that in the test, which is expected, but there will be an error in the console. I want to pick up that error somehow in the tests.
Is that possible in any way?

image

I've tried with a custom report and reading the data from data.logs, it works only for errors logged from the test file, but not from the runtime

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant