mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
Launch test app in English for UI Tests for prevent local test failure. (#2014)
This commit is contained in:
1 parent
52511a2b1c
commit
fb1f5aafbe
1 file changed
+4
@@ -26,6 +26,10 @@ class SUTestApplicationTest: XCTestCase
|
||||
func testRegularUpdate()
|
||||
{
|
||||
let app = XCUIApplication()
|
||||
app.launchArguments = [
|
||||
"-AppleLanguages",
|
||||
"(en)"
|
||||
]
|
||||
app.launch()
|
||||
|
||||
XCTAssertFalse(app.dialogs["alert"].staticTexts["Update succeeded!"].exists, "Update is already installed; please do a clean build")
|
||||
|
||||
Reference in new issue
Block a user