File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
app/src/androidTest/java/com/alphawallet/app Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ package com .alphawallet .app ;
2+
3+ import static androidx .test .espresso .matcher .ViewMatchers .withId ;
4+ import static androidx .test .espresso .matcher .ViewMatchers .withText ;
5+ import static com .alphawallet .app .steps .Steps .createNewWallet ;
6+ import static com .alphawallet .app .steps .Steps .gotoSettingsPage ;
7+ import static com .alphawallet .app .steps .Steps .selectMenu ;
8+ import static com .alphawallet .app .steps .Steps .toggleSwitch ;
9+ import static com .alphawallet .app .util .Helper .click ;
10+
11+ import com .alphawallet .app .util .Helper ;
12+
13+ import org .junit .Test ;
14+
15+ public class RPCNodesTest extends BaseE2ETest
16+ {
17+
18+ @ Test
19+ public void should_select_network ()
20+ {
21+ createNewWallet ();
22+ gotoSettingsPage ();
23+ selectMenu ("Select Active Networks" );
24+ toggleSwitch (R .id .mainnet_header );
25+ click (withText (R .string .action_enable_testnet ));
26+ Helper .wait (1 );
27+ click (withId (R .id .action_node_status ));
28+ Helper .wait (3 );
29+
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments