mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Stabilize coverage
Signed-off-by: Unpublished <unpublished@gmx.net>
This commit is contained in:
parent
a891c848d2
commit
6ca1c88585
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ public class FileDisplayActivityTest extends AbstractIT {
|
|||
@Test
|
||||
public void testSetupToolbar() {
|
||||
try (ActivityScenario<FileDisplayActivity> scenario = ActivityScenario.launch(FileDisplayActivity.class)) {
|
||||
InstrumentationRegistry.getInstrumentation().waitForIdleSync();
|
||||
InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> {
|
||||
Activity activity =
|
||||
ActivityLifecycleMonitorRegistry.getInstance().getActivitiesInStage(RESUMED).iterator().next();
|
||||
|
|
Loading…
Reference in a new issue