Browse Source

update tests

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 4 years ago
parent
commit
0086b01e1e

+ 5 - 2
src/androidTest/java/com/nextcloud/client/SyncedFoldersActivityIT.java

@@ -23,6 +23,7 @@
 package com.nextcloud.client;
 
 import android.Manifest;
+import android.app.Activity;
 import android.content.Intent;
 
 import com.owncloud.android.AbstractIT;
@@ -54,8 +55,10 @@ public class SyncedFoldersActivityIT extends AbstractIT {
 
     @Test
     @ScreenshotTest
-    public void openDrawer() {
-        super.openDrawer(activityRule);
+    public void open() {
+        Activity sut = activityRule.launchActivity(null);
+
+        screenshot(sut);
     }
 
     @Test