mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
commit
035342895f
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