Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func testFastlane() {
- let app = XCUIApplication()
- let scrollViewsQuery = app.scrollViews
- let element = scrollViewsQuery.children(matching: .other).element.children(matching: .other).element(boundBy: 1)
- let currencyPageView = element.children(matching: .other).element(boundBy: 2)
- let coordinate = currencyPageView.coordinate(withNormalizedOffset:CGVector(dx: 64, dy: 10))
- print("AAAA")
- coordinate.press(forDuration: 1)
- print("BBBB")
- snapshot("01_MainScreen")
- print("CCCC")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement