Get help with testing, discuss unit testing strategies etc.


Post by AlexanderRichardson »

Hello,

I am having an issue where my test will fail when I click outside of the view during the test. The error occurs when I use t.type to hit tab and go to the next text field. If I don't click while the test is running, the test completes successfully. If I do click anytime before that part of the test, the test throws an exception. This is the error that occurs: "TypeError: Cannot read property 'nextNode' of undefined".

Does anyone know if there is a way around this?

Thank you!

Post by nickolay »

Hi,

Can you please provide a reproducible test case?

Post by AlexanderRichardson »

Oddly enough I couldn't reproduce the problem in mockup code (I cant post the original). I found a way to work around it though, thank you!

Post Reply