Skip to content

Commit

Permalink
Fixed the flaky tests for BpkSelect component (#1654)
Browse files Browse the repository at this point in the history
* Fixed the flaky tests for BpkSelect component

* Triggered CI

* Triggered CI

* Triggered CI

* Triggered CI

* Updated snapshots for 'default'

* Triggered CI

* Updated snapshots for 'default'

* Triggered CI

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
bvitaliyg and github-actions[bot] authored Jul 14, 2023
1 parent 723ddb8 commit 45e6f41
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ open class BpkSnapshotTest(private val tags: List<Any> = emptyList()) : Screensh
providers = providers,
comparison = { name ->
assertion()

waitForIdle()
compareScreenshot(composeTestRule, name)
},
content = content,
Expand Down Expand Up @@ -110,6 +110,7 @@ open class BpkSnapshotTest(private val tags: List<Any> = emptyList()) : Screensh
}
}
}
composeTestRule.waitForIdle()
comparison(composeTestRule, screenshotName(tags))

scenario.close()
Expand Down

0 comments on commit 45e6f41

Please sign in to comment.