E
E
EvgenyKabakov2017-09-13 13:50:34
JavaScript
EvgenyKabakov, 2017-09-13 13:50:34

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)

Has anyone experienced something similar? System - Ubuntu 16.04

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Gerasimov, 2017-09-13
@Omashu

The value valueshould 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

You can go here
/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 question

Ask a Question

731 491 924 answers to any question