mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
possible fix for flaky UI tests
- increased the time for the oidc selection alert check - for the poll screen creation, in the test only we reduced the number of options to 10
This commit is contained in:
@@ -42,7 +42,7 @@ class PollFormScreenUITests: XCTestCase {
|
||||
let createButton = app.buttons[A11yIdentifiers.pollFormScreen.submit]
|
||||
let addOption = app.buttons[A11yIdentifiers.pollFormScreen.addOption]
|
||||
|
||||
for _ in 1...18 {
|
||||
for _ in 1...8 {
|
||||
// Use the frame as a fallback to fix the button being obscured by the home indicator.
|
||||
if !addOption.isHittable || addOption.frame.maxY > (app.frame.maxY - 20) {
|
||||
app.swipeUp()
|
||||
|
||||
Reference in New Issue
Block a user