Skip to content

Commit 4639480

Browse files
committed
fix part of UI test
1 parent e733045 commit 4639480

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

yCHMUITests/yCHMUITests.swift

+2-6
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,8 @@ class yCHMUITests: XCTestCase {
6868
app.typeKey("g", modifierFlags: [.command, .shift])
6969
let sheet = openDialog.sheets.firstMatch
7070
XCTAssert(sheet.waitForExistence(timeout: 5))
71-
let goButton = openDialog.buttons["Go"]
72-
let input = sheet.comboBoxes.firstMatch
73-
XCTAssert(goButton.exists)
74-
XCTAssert(input.exists)
75-
input.typeText(chmpath)
76-
goButton.click()
71+
sheet.typeText(chmpath)
72+
sheet.typeText("\n")
7773
openButton.click()
7874
}
7975
}

0 commit comments

Comments
 (0)