From 7a7b43ef116ca4b7a883b6dfe198e390cacb5de8 Mon Sep 17 00:00:00 2001 From: James Brown Date: Mon, 23 Sep 2024 13:55:22 +0800 Subject: [PATCH] Update tests with new flow --- .../java/com/alphawallet/app/steps/Steps.java | 8 ++- .../layout/activity_transaction_success.xml | 61 ------------------- 2 files changed, 5 insertions(+), 64 deletions(-) delete mode 100644 app/src/main/res/layout/activity_transaction_success.xml diff --git a/app/src/androidTest/java/com/alphawallet/app/steps/Steps.java b/app/src/androidTest/java/com/alphawallet/app/steps/Steps.java index 5bdd7a27e..55747bda9 100644 --- a/app/src/androidTest/java/com/alphawallet/app/steps/Steps.java +++ b/app/src/androidTest/java/com/alphawallet/app/steps/Steps.java @@ -141,9 +141,11 @@ public class Steps public static void ensureTransactionConfirmed() { // onView(withText(R.string.rate_no_thanks)).perform(click()); - click(withId(R.string.action_show_tx_details)); - onView(isRoot()).perform(waitUntil(withSubstring("Send"), 30 * 60)); - pressBack(); + // now this view goes straight to activity pane + shouldSee("Activity"); + //click(withId(R.string.action_show_tx_details)); + //onView(isRoot()).perform(waitUntil(withSubstring("Send"), 30 * 60)); + //pressBack(); } public static void sendBalanceTo(String tokenSymbol, String amountStr, String receiverAddress) diff --git a/app/src/main/res/layout/activity_transaction_success.xml b/app/src/main/res/layout/activity_transaction_success.xml deleted file mode 100644 index 016ee0b66..000000000 --- a/app/src/main/res/layout/activity_transaction_success.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - -