Skip to content

Commit

Permalink
Reduce US bank flakes. (#10230)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaynewstrom-stripe authored Feb 20, 2025
1 parent 623e811 commit 010027d
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1554,6 +1554,13 @@ internal class PlaygroundTestDriver(
TimeUnit.MILLISECONDS.sleep(250)
}

composeTestRule.waitUntil(timeoutMillis = DEFAULT_UI_TIMEOUT.inWholeMilliseconds) {
composeTestRule
.onAllNodesWithText("Agree and continue")
.fetchSemanticsNodes(atLeastOneRootRequired = false)
.size == 1
}

clickButton("Agree and continue")
clickButtonWithTag("existing_email-button")
clickButton("Use test code")
Expand All @@ -1578,7 +1585,7 @@ internal class PlaygroundTestDriver(
composeTestRule.waitUntil(timeoutMillis = DEFAULT_UI_TIMEOUT.inWholeMilliseconds) {
composeTestRule
.onAllNodesWithText("Agree and continue")
.fetchSemanticsNodes()
.fetchSemanticsNodes(atLeastOneRootRequired = false)
.size == 1
}

Expand Down

0 comments on commit 010027d

Please sign in to comment.