Answer the question
In order to leave comments, you need to log in
Why does selenium test break?
Good day to all!
I have a problem with running selenium - a test, more precisely with generating a test report, when the npm test command starts the test, and the test passes successfully, but the following message appears:
Failed parsing stats for Allure reporter: attribute value for name 'value' should be a primitive (string, number, boolean, null, or undefined). Dumped this.baseReporter.stats to /home/evg/webtesting/wdio-demo/allure-reporter-debug.log.
Error: attribute value for name 'value' should be a primitive (string, number, boolean, null, or undefined)
at parseAttribute (/home/evg/webtesting/wdio-demo/node_modules/js2xmlparser/lib/main.js:76:15)
at parseObjectOrMapEntry (/home/evg/webtesting/wdio-demo/node_modules/js2xmlparser/lib/main.js:107:17)
at parseObjectOrMap (/home/evg/webtesting/wdio-demo/node_modules/js2xmlparser/lib/main.js:152:13)
at parseValue (/home/evg/webtesting/wdio-demo/node_modules/js2xmlparser/lib/main.js:220:9)
at /home/evg/webtesting/wdio-demo/node_modules/js2xmlparser/lib/main.js:192:9
at Array.forEach (native)
at parseArrayOrSet (/home/evg/webtesting/wdio-demo/node_modules/js2xmlparser/lib/main.js:187:16)
at parseValue (/home/evg/webtesting/wdio-demo/node_modules/js2xmlparser/lib/main.js:224:9)
at parseObjectOrMapEntry (/home/evg/webtesting/wdio-demo/node_modules/js2xmlparser/lib/main.js:132:5)
at parseObjectOrMap (/home/evg/webtesting/wdio-demo/node_modules/js2xmlparser/lib/main.js:152:13)
Answer the question
In order to leave comments, you need to log in
The value value
should be like this string, number, boolean, null, or undefined
, but it is something else, a detailed countdown can be found here
/home/evg/webtesting/wdio-demo/allure-reporter-debug.log
/home/evg/webtesting/wdio-demo/node_modules/js2xmlparser/lib/main.js:76:15
and see what we havevalue
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question