Skip to content

Commit 5c8ac70

Browse files
stefan-niedermannAndyScherzinger
authored andcommitted
#395 E2E test
Signed-off-by: Stefan Niedermann <[email protected]> Signed-off-by: Andy Scherzinger <[email protected]>
1 parent 8620368 commit 5c8ac70

File tree

1 file changed

+3
-3
lines changed
  • sample/src/androidTest/java/com/nextcloud/android/sso/sample

1 file changed

+3
-3
lines changed

sample/src/androidTest/java/com/nextcloud/android/sso/sample/E2ETest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ public void test_01_importAccountIntoSampleApp() throws UiObjectNotFoundExceptio
169169
public void test_02_verifyResult() throws UiObjectNotFoundException {
170170
launch(APP_SAMPLE);
171171

172-
final var taskCard = mDevice.findObject(new UiSelector()
172+
final var result = mDevice.findObject(new UiSelector()
173173
.textContains("Test on Nextcloud"));
174-
taskCard.waitForExists(TIMEOUT);
175-
System.out.println("Found: " + taskCard.getText());
174+
result.waitForExists(TIMEOUT);
175+
System.out.println("Found: " + result.getText());
176176
}
177177

178178
private void log(@NonNull String message) {

0 commit comments

Comments
 (0)