Skip to content

Commit

Permalink
do not redundant preperation
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jan 17, 2024
1 parent 8e11313 commit 2150c36
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ private void setupDragDropView() throws JSONException {

private void setupEditView() throws JSONException {
startActivity(".app.AlertDialogSamples");
Response response = findElement(By.accessibilityId("Text Entry dialog"));
clickAndWaitForStaleness(response.getElementId());
}

@Override
public void launchAUT() {
// Skip some setup to avoid redundant setup.
dismissSystemAlert();
}

@Test
Expand Down

0 comments on commit 2150c36

Please sign in to comment.