peblio / app

GNU General Public License v3.0
4 stars 2 forks source link

Testcase E2E tests failing with error: Cannot redefine property: __call #846

Open komalahuwalia opened 4 years ago

komalahuwalia commented 4 years ago

Nature of issue?

Details about the bug:

Feature enhancement details:

New feature details:

komalahuwalia commented 4 years ago

On debugging this issue, I found that testcafe framework is failing and quitting test execution because the code logs a Javascript exception. The solution was to add -e / --skip-js-errors switch to testcafe execution to configure testcase to continue test execute on javascript error. Found this article helpful https://devexpress.github.io/testcafe/documentation/using-testcafe/command-line-interface.html#-e---skip-js-errors