[TIMOB-25154] Windows: Mocha test Titanium.XML apiXmlNodeProperties test failure
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | None |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | engSchedule, failure-reviewed |
| Reporter | Eric Merriman |
| Assignee | Kota Iguchi |
| Created | 2017-08-11T16:22:48.000+0000 |
| Updated | 2019-05-02T18:18:31.000+0000 |
Description
Titanium.XML apiXmlNodeProperties please investigate the failure.
Please use https://github.com/ewanharris/titanium-mobile-mocha-suite/tree/TIMOB-24816 to find the related test
You can use https://github.com/ewanharris/mocha-test to quickly debug (most) mocha tests)
https://github.com/ewanharris/titanium-mobile-mocha-suite/blob/4b75b3f057ad8771bc0d0f2ebf249096462a9207/Resources/ti.xml.test.js#L787 See comments in the test "error":{"name":"AssertionError","operator":"to have type undefined","message":"expected undefined not to have type undefined","generatedMessage":true,"stack":"/should.js:1419:18\n/your-test.js:109:40\nrun@/ti-mocha.js:4363:19\nrunTest@/ti-mocha.js:4768:13\n/ti-mocha.js:4846:19\nnext@/ti-mocha.js:4693:16\n/ti-mocha.js:4703:11\nnext@/ti-mocha.js:4641:25\n/ti-mocha.js:4670:9\ntimeslice@/ti-mocha.js:5777:27"}
Should be null if no namespace set https://developer.mozilla.org/en-US/docs/Web/API/Node/namespaceURI https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI