Skip to content

Commit 34fdbc0

Browse files
author
No-Jun Park
authored
Wait enough time so app.label value is not empty (mozilla-mobile#370)
1 parent 7d9f3bd commit 34fdbc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

focus-ios/XCUITest/OpenInFocusTest.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class OpenInFocusTest : BaseTestCase {
1818

1919
func testOpenViaSafari() {
2020
let app = XCUIApplication()
21+
waitforExistence(element: app.textFields["URLBar.urlText"]) // wait for app.label
2122
let sharedExtName = app.label.contains("Klar") ? "Firefox Klar" : "Firefox Focus" as String
2223

2324
let safariApp = XCUIApplication(privateWithPath: nil, bundleID: "com.apple.mobilesafari")!

0 commit comments

Comments
 (0)