Skip to content

Commit e31058c

Browse files
last fix
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent 6afcbc5 commit e31058c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

app/src/androidTest/java/com/owncloud/android/ui/activity/ManageAccountsActivityIT.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ class ManageAccountsActivityIT : AbstractIT() {
5656
sut.showUser(user, userInfo)
5757
}
5858

59-
val screenShotName = createName(testClassName + "_" + "open", "")
59+
val screenShotName = createName(testClassName + "_" + "userInfoDetail", "")
6060
onView(isRoot()).check(matches(isDisplayed()))
6161

62+
val a = getCurrentActivity()
63+
6264
scenario.onActivity {
63-
screenshotViaName(getCurrentActivity(), screenShotName)
65+
screenshotViaName(a, screenShotName)
6466
}
6567
}
6668
}

0 commit comments

Comments
 (0)