From 55c27268566e3d976ae104deee9c969529b70b23 Mon Sep 17 00:00:00 2001 From: brianna Date: Mon, 18 Nov 2024 00:31:12 -0800 Subject: [PATCH] Increase timeout to 30s. --- .../DaysUntilBirthdayUITests_iOS.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Samples/Swift/DaysUntilBirthday/DaysUntilBirthdayUITests(iOS)/DaysUntilBirthdayUITests_iOS.swift b/Samples/Swift/DaysUntilBirthday/DaysUntilBirthdayUITests(iOS)/DaysUntilBirthdayUITests_iOS.swift index dd998374..b0507529 100644 --- a/Samples/Swift/DaysUntilBirthday/DaysUntilBirthdayUITests(iOS)/DaysUntilBirthdayUITests_iOS.swift +++ b/Samples/Swift/DaysUntilBirthday/DaysUntilBirthdayUITests(iOS)/DaysUntilBirthdayUITests_iOS.swift @@ -83,7 +83,7 @@ extension DaysUntilBirthdayUITests_iOS { guard springboardApp .staticTexts[signInStaticText] - .waitForExistence(timeout: timeout) else { + .waitForExistence(timeout: 30) else { XCTFail("Failed to display permission prompt") return false } @@ -145,7 +145,7 @@ extension DaysUntilBirthdayUITests_iOS { sampleApp.keyboards.element.buttons["return"].tap() print("BOO: before entering password") guard sampleApp.secureTextFields["Enter your password"] - .waitForExistence(timeout: timeout) else { + .waitForExistence(timeout: 30) else { XCTFail("Failed to find password textfield") return false }