You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
Write tests on the button. When clicking on the button - it should be in focus, but due to the button for other reasons does not receive focus and document.activeElement not equal to the button, and equal document.body. In this case, the test was just to fail, but after my code - crashes the browser(any) or does not hang, but is not performed afterEach.
My code:
Thanks for taking the time to let me know about this and sorry about the trouble!
I'm guessing it could be an issue with trying to serialize the DOM element to report the failure (something like foo must equal bar). I'll take a look and see how to tone down the serialization for cases where it might take too long.
Hello!
Write tests on the button. When clicking on the button - it should be in focus, but due to the button for other reasons does not receive focus and document.activeElement not equal to the button, and equal document.body. In this case, the test was just to fail, but after my code - crashes the browser(any) or does not hang, but is not performed afterEach.
My code:
I tried in different ways:
The text was updated successfully, but these errors were encountered: