We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d54605 + b432a68 commit b7e236fCopy full SHA for b7e236f
Modules/Sources/UITestsFoundation/Screens/Orders/CustomerDetailsScreen.swift
@@ -40,8 +40,12 @@ public final class CustomerDetailsScreen: ScreenObject {
40
@discardableResult
41
public func enterCustomerDetails(name: String) throws -> UnifiedOrderScreen {
42
billingFirstNameField.tap()
43
- billingFirstNameField.typeText(name)
+ // `\n` was added after the first name input in order to dismiss the keyboard so that the address toggle is interactive in shorter screens.
44
+ billingFirstNameField.typeText("\(name)\n")
45
+ let tableView = app.tables.firstMatch
46
+ tableView.swipeUp()
47
addressToggleSet(to: "1")
48
49
shippingFirstNameField.tap()
50
shippingFirstNameField.typeText(name)
51
doneButton.tap()
0 commit comments