Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27498] iOS: Intermittent UI Layout test failures

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2019-12-03T16:11:44.000+0000
Affected Version/sRelease 8.2.1
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterChristopher Williams
AssigneeSamuel Haig
Created2019-10-24T18:02:18.000+0000
Updated2019-12-03T16:11:44.000+0000

Description

We are seeing intermittent UI Layout test failures. Specifically here's a failure from a build: https://jenkins.appcelerator.org/job/titanium-sdk/job/titanium_mobile/job/8_2_X/46/testReport/ The test failures are variants of a test around TIMOB-23372, and expect a post layout event to have a rect with an x property equal to 10 (the left padding). Sometimes this event fires with a value of 9. This appears to be related to simulators being created by our appium suite? Failures: Building for iOS Simulator: appiumTest-63D0910A-9E17-4437-AF50-781E3BCBC590-iPhone 7 Building for iOS Simulator: appiumTest-C4E4A63F-7A15-4130-A574-6E7FA5B5D620-iPhone 7 Passed: Building for iOS Simulator: iPhone 11 Pro Max Building for iOS Simulator: iPhone 11 Pro Max

Comments

  1. Hans Knöchel 2019-10-24

    It may be a rounding issue for devices using an odd value for the total physical width. We had those issues especially with percent-based calculations and fixed it manually by rounding either up or down consistently. Maybe it helps guiding into the right direction.
  2. Alan Hutton 2019-12-03

    Closing.

JSON Source