 
 class BraintreeThreeDSecurePaymentFlow_UITests: XCTestCase {
     var app: XCUIApplication!
+    let timeout: TimeInterval = 20
     
     override func setUp() {
         super.setUp()

        app.textFields["MM/YY"].typeText("012020")
        app.buttons["Tokenize and Verify New Card"].tap()

        self.waitForElementToAppear(getPasswordFieldQuery().element)
        let passwordTextField = getPasswordFieldQuery().element

        passwordTextField.forceTapElement()

        app.textFields["MM/YY"].typeText("012020")
        app.buttons["Tokenize and Verify New Card"].tap()

        self.waitForElementToAppear(getPasswordFieldQuery().element, timeout: timeout)
        let passwordTextField = getPasswordFieldQuery().element
        
        passwordTextField.forceTapElement()
