Skip to content

Commit

Permalink
Make GeocoderPrefTest less flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Aug 11, 2023
1 parent 04b325d commit bf66613
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ public void geocoder() {
fail(e.getMessage());
}
assertTrue(TestUtils.clickText(device, false, main.getString(R.string.okay), true, false));
assertTrue(TestUtils.clickHome(device, true));
TestUtils.clickHome(device, false);
TestUtils.clickHome(device, false);
try (AdvancedPrefDatabase prefDb = new AdvancedPrefDatabase(main)) {
Geocoder[] geocoders = prefDb.getGeocoders();
assertEquals(3, geocoders.length);
Expand Down

0 comments on commit bf66613

Please sign in to comment.