Skip to content

XML parser ignores CDATA children #6

@joegaudet

Description

@joegaudet

Hey thanks for the great work, noticed that the xml parser doesn't seem to pickup CDATA content.

Example:

    <testcase classname="Chrome 79.0" name="LoggedInOrdersRoute exists " time="0.005">
        <error message="(0 , _chai.expect)(...).to.be is not a function"><![CDATA[Source:
TypeError: (0 , _chai.expect)(...).to.be is not a function
    at Context.<anonymous> (http://localhost:4203/starfox/assets/tests.js:12098:35)
    at invoke (http://localhost:4203/starfox/assets/test-support.js:13227:21)
    at Context.method (http://localhost:4203/starfox/assets/test-support.js:13292:13)
    at callFnAsync (http://localhost:4203/starfox/assets/test-support.js:4500:8)
    at Test.Runnable.run (http://localhost:4203/starfox/assets/test-support.js:4452:7)
    at Runner.runTest (http://localhost:4203/starfox/assets/test-support.js:4940:10)
    at http://localhost:4203/starfox/assets/test-support.js:5046:12
    at next (http://localhost:4203/starfox/assets/test-support.js:4860:14)
    at http://localhost:4203/starfox/assets/test-support.js:4870:7
    at next (http://localhost:4203/starfox/assets/test-support.js:4802:14)]]></error>
    </testcase>

The JSON that comes out doesn't have the stack message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions