Skip to content

Commit

Permalink
moving activate to the correct place.
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 committed Nov 1, 2023
1 parent 476afac commit 58a1e23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class AuthenticatorBaseTestCase: XCTestCase {
func launchApp(with args: [ProcessArgument]) {
// Launch Application
let app = XCUIApplication()
app.activate()

if let encodedData = try? JSONEncoder().encode(args),
let stringJSON = String(data: encodedData, encoding: .utf8) {
Expand All @@ -57,6 +56,7 @@ class AuthenticatorBaseTestCase: XCTestCase {
}

app.launch()
app.activate()
}

func launchAppAndLogin(with args: [ProcessArgument]) {
Expand Down

0 comments on commit 58a1e23

Please sign in to comment.