Skip to content

Commit d66b3fa

Browse files
authored
Merge pull request #9889 from woocommerce/update-login-flow-return-value
[UI Test] - Remove redundant return value
2 parents 1dc2a23 + e66e029 commit d66b3fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WooCommerce/WooCommerceUITests/Flows/LoginFlow.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ class LoginFlow {
2525

2626
@discardableResult
2727
static func logInWithSiteAddress() throws -> MyStoreScreen {
28-
try PrologueScreen()
28+
return try PrologueScreen()
2929
.tapLogIn()
3030
.proceedWith(siteUrl: TestCredentials.siteUrl)
3131
.proceedWith(email: TestCredentials.emailAddress)
3232
.enterValidPassword()
33-
return try MyStoreScreen()
3433
}
3534
}

0 commit comments

Comments
 (0)