[TIMOB-25136] Windows: Mocha test Titanium.UI.TextField width test failure
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Done |
Resolution Date | 2019-05-16T05:44:51.000+0000 |
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:22.000+0000 |
Updated | 2019-05-28T10:56:12.000+0000 |
Description
Titanium.UI.TextField width 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)
"error":{"name":"AssertionError","actual":"","operator":"to be above 100","message":"expected '' to be above 100"
, win.width [here](https://github.com/ewanharris/titanium-mobile-mocha-suite/blob/TIMOB-24816/Resources/ti.ui.textfield.test.js#L171) is equal to ''Broken on all, needs review
Merged https://github.com/appcelerator/titanium-mobile-mocha-suite/pull/159 The width test case for textfield is not quite right. rect should be used when getting actual unit values.
Closing ticket, fix verified in SDK version
8.1.0.v20190524131922
Test and other information can be found at: https://github.com/appcelerator/titanium-mobile-mocha-suite/pull/159