How to fail a test case in Test if any js error is found by Test Rigor?

Viewed 11

I am running a test case in my Test Rigor suite.It is getting passed but I can see some errors in the Test steps that were executed.

Error: JS SEVERE: 52:61 Uncaught TypeError: Cannot read properties of undefined (reading 'toString')

Issue is that Test Rigor is passing all these test cases.I want it to fail the test case in case any such errors are found.Is there any way to do this?

0 Answers
Related