Skip to content

Commit c6d9ca0

Browse files
committed
Fixes UITests.
1 parent 95dc6fd commit c6d9ca0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RxExample/RxExample-iOSUITests/FlowTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extension FlowTests {
4747
}
4848

4949
func testSearchWikipedia() {
50-
app.tables.allElementsBoundByIndex[0].cells.allElementsBoundByIndex[12].tap()
50+
app.tables.allElementsBoundByIndex[0].cells.allElementsBoundByIndex[13].tap()
5151

5252
let searchField = app.tables.children(matching: .searchField).element
5353

@@ -62,7 +62,7 @@ extension FlowTests {
6262
}
6363

6464
func testMasterDetail() {
65-
app.tables.allElementsBoundByIndex[0].cells.allElementsBoundByIndex[10].tap()
65+
app.tables.allElementsBoundByIndex[0].cells.allElementsBoundByIndex[11].tap()
6666
waitForElementToAppear(app.tables.allElementsBoundByIndex[0].cells.element(boundBy: 5), timeout: 10.0)
6767

6868
let editButton = app.navigationBars.buttons["Edit"]
@@ -91,12 +91,12 @@ extension FlowTests {
9191
}
9292

9393
func testAnimatedPartialUpdates() {
94-
app.tables.allElementsBoundByIndex[0].cells.allElementsBoundByIndex[11].tap()
94+
app.tables.allElementsBoundByIndex[0].cells.allElementsBoundByIndex[12].tap()
9595

9696
wait(interval: 1.0)
9797

9898
let randomize = app.navigationBars.buttons["Randomize"]
99-
waitForElementToAppear(randomize)
99+
waitForElementToAppear(randomize, timeout: 5)
100100

101101
randomize.tap()
102102
randomize.tap()

0 commit comments

Comments
 (0)