mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Fix UI tests (#950)
* Fixed unstored weak reference warning * Prevent the timeline from jumping whenever we access XCUIApplication properties * Prevent UI tests from causing side effects on the timeline * Update userSession reference screenshots * Fix create room UI tests * Update inviteUsers UI test reference screenshots * Allow certain tests to enable timeline accessibility * Fix roomLayout tests and update reference screenshots * Disable the testTimelineLayoutInMiddle test because of flakiness * Update screenshots following timestamp addition * Another attempt * Yet another attempt, replace XCUIScreen screenshots with XCUIApplication ones, decrease delay to 1 second * Allow tests to retry up to 3 times before failing the run
This commit is contained in:
+2
-1
@@ -127,7 +127,8 @@ lane :ui_tests do |options|
|
||||
ensure_devices_found: true,
|
||||
prelaunch_simulator: true,
|
||||
result_bundle: true,
|
||||
only_testing: test_to_run
|
||||
only_testing: test_to_run,
|
||||
number_of_retries: 3,
|
||||
)
|
||||
|
||||
slather(
|
||||
|
||||
Reference in New Issue
Block a user