Launch test app in English for UI Tests for prevent local test failure. (#2014)

This commit is contained in:
Ethan Wong authored and GitHub committed 2021-11-07 15:08:43 -08:00
1 parent 52511a2b1c
commit fb1f5aafbe
1 file changed
+4
+4
View File
@@ -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")