Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
2.2k views
by The go-to Tester (181 points)
edited by

I am trying to execute mocha tests. I am getting below error.

TypeError: Cannot read property 'call' of undefined

1 Answer

0 like 0 dislike
by Master (1.2k points)
There are many possibilities for this to happen. But, since you are using it for TDD, I assume that you are facing issue with executing the test again with next set of browsers.

I would suggest you to use grunt-loop-mocha to execute tests in different browsers.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...