Skip to content

Commit

Permalink
#395 E2E test
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Niedermann <[email protected]>
  • Loading branch information
stefan-niedermann authored and AndyScherzinger committed Jan 19, 2024
1 parent dde99b7 commit a308631
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ public void test_01_importAccountIntoSampleApp() throws UiObjectNotFoundExceptio
public void test_02_verifyResult() throws UiObjectNotFoundException {
launch(APP_SAMPLE);

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

private void log(@NonNull String message) {
Expand Down

0 comments on commit a308631

Please sign in to comment.