Skip to content

Commit b432a68

Browse files
committed
Add a comment on adding \n to dismiss keyboard.
1 parent 221103b commit b432a68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/Sources/UITestsFoundation/Screens/Orders/CustomerDetailsScreen.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public final class CustomerDetailsScreen: ScreenObject {
4040
@discardableResult
4141
public func enterCustomerDetails(name: String) throws -> UnifiedOrderScreen {
4242
billingFirstNameField.tap()
43+
// `\n` was added after the first name input in order to dismiss the keyboard so that the address toggle is interactive in shorter screens.
4344
billingFirstNameField.typeText("\(name)\n")
4445
let tableView = app.tables.firstMatch
4546
tableView.swipeUp()

0 commit comments

Comments
 (0)