Skip to content

Commit 4187cda

Browse files
committed
terminate the XCUIApplication as part of UI tests setUpTestSuite
Co-authored-by: pachlava <pachlava@gmail.com> This is an attempt to address UI tests flakiness. See #17886 for more details.
1 parent d029b06 commit 4187cda

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

WordPress/WordPressUITests/Utils/XCTest+Extensions.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ extension XCTestCase {
1010
continueAfterFailure = false
1111

1212
let app = XCUIApplication()
13+
app.terminate()
1314
app.launchArguments = ["-wpcom-api-base-url", WireMock.URL().absoluteString, "-no-animations", "-ui-testing"]
1415
app.activate()
1516

0 commit comments

Comments
 (0)