Skip to content

Commit

Permalink
Improve test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradhowes committed Jul 5, 2023
1 parent f28d363 commit 4a75597
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,12 @@ class JoyStickView_AppUITests: XCTestCase {

// Now double-tap to move back
//
let start2 = center(of: rightJoystick)
start2.press(forDuration: 0.1)
start2.press(forDuration: 0.1)
while rightJoystick.frame == end {
center(of: rightJoystick).press(forDuration: 0.1)
center(of: rightJoystick).press(forDuration: 0.1)
}

XCTAssertNotEqual(end, rightJoystick.frame)
XCTAssertNotEqual(rightJoystick.frame, end)
}

func testRelativeTapped() {
Expand Down

0 comments on commit 4a75597

Please sign in to comment.