Skip to content

Commit

Permalink
Update 3DS Payment Flow test timeouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
braintreeps committed Feb 6, 2018
1 parent 470d398 commit a4241ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions UITests/BraintreeThreeDSecure_UITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ class BraintreeThreeDSecurePaymentFlow_UITests: XCTestCase {
cardNumberTextField.typeText("4000000000000002")
app.textFields["MM/YY"].typeText("012020")
app.buttons["Tokenize and Verify New Card"].tap()
sleep(2)
sleep(4)

let elementsQuery = app.webViews.element.otherElements
let passwordTextField = getPasswordField()

passwordTextField.tap()
sleep(1)
sleep(2)
passwordTextField.typeText("1234")

getSubmutButton().tap()
Expand Down Expand Up @@ -163,13 +163,13 @@ class BraintreeThreeDSecurePaymentFlow_UITests: XCTestCase {
cardNumberTextField.typeText("4000000000000093")
app.textFields["MM/YY"].typeText("012020")
app.buttons["Tokenize and Verify New Card"].tap()
sleep(2)
sleep(4)

let elementsQuery = app.webViews.element.otherElements
let passwordTextField = elementsQuery.children(matching: .other).children(matching: .secureTextField).element

passwordTextField.tap()
sleep(1)
sleep(2)
passwordTextField.typeText("1234")

getSubmutButton().tap()
Expand Down

0 comments on commit a4241ca

Please sign in to comment.