Skip to content
This repository was archived by the owner on Jun 17, 2018. It is now read-only.

Commit c085274

Browse files
committed
Fix UI Testing
1 parent a399863 commit c085274

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Example/PagingMenuControllerDemoUITests/PagingMenuControllerDemoUITests.swift

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,12 @@ class PagingMenuControllerDemoUITests: XCTestCase {
3434

3535
let tablesQuery = XCUIApplication().tables
3636
tablesQuery.element(boundBy: 0).swipeUp()
37+
tablesQuery.staticTexts["Standard + MultilineText"].tap()
3738

3839
let elementsQuery = XCUIApplication().scrollViews.otherElements
39-
elementsQuery.staticTexts["Users"].swipeLeft()
40-
elementsQuery.staticTexts["Repositories"].swipeLeft()
41-
elementsQuery.staticTexts["Gists"].swipeLeft()
42-
elementsQuery.staticTexts["Organizations"].swipeLeft()
4340

44-
elementsQuery.staticTexts["Gists"].tap()
45-
elementsQuery.staticTexts["Repositories"].tap()
46-
elementsQuery.staticTexts["Users"].tap()
41+
elementsQuery.staticTexts["MenuItemUsers()"].swipeLeft()
42+
elementsQuery.staticTexts["MenuItemGists()"].tap()
43+
XCUIApplication().tables.element(boundBy: 0).swipeLeft()
4744
}
4845
}

0 commit comments

Comments
 (0)