|
| 1 | +@AddNewWalletCreateBitcoin @Testnet @Mainnet |
| 2 | +Feature: Add new wallet - Create Bitcoin wallet |
| 3 | + |
| 4 | + Background: |
| 5 | + Given Lace is ready for test |
| 6 | + |
| 7 | + @LW-13739 @Smoke |
| 8 | + Scenario: Extended-view - Multi-wallet - Create Bitcoin Wallet - Use same recovery phrase |
| 9 | + When I opened "Create" flow via "Add new wallet" feature |
| 10 | + And I select "Bitcoin" blockchain on the "Select a blockchain" page |
| 11 | + And I click "Next" button during wallet setup |
| 12 | + And I click "Understood" button on "Bitcoin warning" modal |
| 13 | + Then "Choose recovery method" page is displayed on "Create" flow for Bitcoin chain |
| 14 | + And "Recovery phrase" is selected as a recovery method for Bitcoin chain |
| 15 | + When I click "Next" button during wallet setup |
| 16 | + Then "Reuse your Recovery Phrase" page is displayed |
| 17 | + When I click "Use same recovery phrase" button on "Reuse your Recovery Phrase" page |
| 18 | + Then "Confirm your password" page is displayed for wallet "MultiWallet2" |
| 19 | + When I enter valid password for wallet "MultiWallet2" on "Confirm your password" page |
| 20 | + And I click "Confirm" button on "Confirm your password" page |
| 21 | + Then "Wallet setup" page is displayed |
| 22 | + When I enter wallet name: "MultiWallet2", password: "N_8J@bne87A" and password confirmation: "N_8J@bne87A" |
| 23 | + And I click "Enter wallet" button |
| 24 | + Then I see LW homepage |
| 25 | + When I click "Receive" button on page header |
| 26 | + Then I see Bitcoin wallet name and address for wallet "MultiWallet2" in the Receive drawer |
| 27 | + |
| 28 | + @LW-13742 |
| 29 | + Scenario: Extended-view - Multi-wallet - Create Bitcoin Wallet - Create new recovery phrase |
| 30 | + When I opened "Create" flow via "Add new wallet" feature |
| 31 | + And I select "Bitcoin" blockchain on the "Select a blockchain" page |
| 32 | + And I click "Next" button during wallet setup |
| 33 | + And I click "Understood" button on "Bitcoin warning" modal |
| 34 | + Then "Choose recovery method" page is displayed on "Create" flow for Bitcoin chain |
| 35 | + And "Recovery phrase" is selected as a recovery method for Bitcoin chain |
| 36 | + When I click "Next" button during wallet setup |
| 37 | + Then "Reuse your Recovery Phrase" page is displayed |
| 38 | + When I click "Create a new one" button on "Reuse your Recovery Phrase" page |
| 39 | + Then "Mnemonic writedown" page is displayed with 24 words |
| 40 | + When I save mnemonic words |
| 41 | + And I click "Next" button during wallet setup |
| 42 | + Then "Mnemonic verification" page is displayed from "Create wallet" flow with 24 words |
| 43 | + When I enter saved mnemonic words |
| 44 | + And I click "Next" button during wallet setup |
| 45 | + Then "Wallet setup" page is displayed |
| 46 | + When I enter wallet name: "MultiWallet2", password: "N_8J@bne87A" and password confirmation: "N_8J@bne87A" |
| 47 | + And I click "Enter wallet" button |
| 48 | + Then I see LW homepage |
| 49 | + When I click "Receive" button on page header |
| 50 | + Then I see Bitcoin wallet name but no address for wallet "MultiWallet2" in the Receive drawer |
| 51 | + |
| 52 | + @LW-13746 @LW-13747 |
| 53 | + Scenario: Extended-view - Multi-wallet - Create Bitcoin Wallet - Only 24 words allowed - Select another wallet |
| 54 | + Given I open wallet: "TwelveWordsMnemonic" in: extended mode |
| 55 | + When I opened "Create" flow via "Add new wallet" feature |
| 56 | + And I select "Bitcoin" blockchain on the "Select a blockchain" page |
| 57 | + And I click "Next" button during wallet setup |
| 58 | + And I click "Understood" button on "Bitcoin warning" modal |
| 59 | + Then "Choose recovery method" page is displayed on "Create" flow for Bitcoin chain |
| 60 | + And "Recovery phrase" is selected as a recovery method for Bitcoin chain |
| 61 | + When I click "Next" button during wallet setup |
| 62 | + Then "Reuse your Recovery Phrase" page is displayed |
| 63 | + When I click "Use same recovery phrase" button on "Reuse your Recovery Phrase" page |
| 64 | + Then "Confirm your password" page is displayed for wallet "TwelveWordsMnemonic" |
| 65 | + When I enter valid password for wallet "TwelveWordsMnemonic" on "Confirm your password" page |
| 66 | + And I click "Confirm" button on "Confirm your password" page |
| 67 | + Then I see incompatible recovery phrase error page |
| 68 | + When I click "Select another wallet" button on incompatible recovery phrase error page |
| 69 | + Then "Reuse your Recovery Phrase" page is displayed |
| 70 | + |
| 71 | + @LW-13747 |
| 72 | + Scenario: Extended-view - Multi-wallet - Create Bitcoin Wallet - Only 24 words allowed - Create new recovery phrase |
| 73 | + Given I open wallet: "TwelveWordsMnemonic" in: extended mode |
| 74 | + When I opened "Create" flow via "Add new wallet" feature |
| 75 | + And I select "Bitcoin" blockchain on the "Select a blockchain" page |
| 76 | + And I click "Next" button during wallet setup |
| 77 | + And I click "Understood" button on "Bitcoin warning" modal |
| 78 | + Then "Choose recovery method" page is displayed on "Create" flow for Bitcoin chain |
| 79 | + And "Recovery phrase" is selected as a recovery method for Bitcoin chain |
| 80 | + When I click "Next" button during wallet setup |
| 81 | + Then "Reuse your Recovery Phrase" page is displayed |
| 82 | + When I click "Use same recovery phrase" button on "Reuse your Recovery Phrase" page |
| 83 | + Then "Confirm your password" page is displayed for wallet "TwelveWordsMnemonic" |
| 84 | + When I enter valid password for wallet "TwelveWordsMnemonic" on "Confirm your password" page |
| 85 | + And I click "Confirm" button on "Confirm your password" page |
| 86 | + Then I see incompatible recovery phrase error page |
| 87 | + When I click "Create a new one" button on incompatible recovery phrase error page |
| 88 | + Then "Mnemonic writedown" page is displayed with 24 words |
| 89 | + When I save mnemonic words |
| 90 | + And I click "Next" button during wallet setup |
| 91 | + Then "Mnemonic verification" page is displayed from "Create wallet" flow with 24 words |
| 92 | + When I enter saved mnemonic words |
| 93 | + And I click "Next" button during wallet setup |
| 94 | + Then "Wallet setup" page is displayed |
| 95 | + When I enter wallet name: "AddNewWallet", password: "N_8J@bne87A" and password confirmation: "N_8J@bne87A" |
| 96 | + And I click "Enter wallet" button |
| 97 | + Then I see LW homepage |
| 98 | + |
| 99 | + @LW-13743 |
| 100 | + Scenario: Extended-view - Multi-wallet - Create Bitcoin Wallet - Use same recovery phrase - Invalid password |
| 101 | + When I opened "Create" flow via "Add new wallet" feature |
| 102 | + And I select "Bitcoin" blockchain on the "Select a blockchain" page |
| 103 | + And I click "Next" button during wallet setup |
| 104 | + And I click "Understood" button on "Bitcoin warning" modal |
| 105 | + Then "Choose recovery method" page is displayed on "Create" flow for Bitcoin chain |
| 106 | + And "Recovery phrase" is selected as a recovery method for Bitcoin chain |
| 107 | + When I click "Next" button during wallet setup |
| 108 | + Then "Reuse your Recovery Phrase" page is displayed |
| 109 | + And "MultiWallet2" wallet name is selected on "Reuse your Recovery Phrase" page |
| 110 | + When I select "MultiWallet1" wallet name on "Reuse your Recovery Phrase" page |
| 111 | + Then "MultiWallet1" wallet name is selected on "Reuse your Recovery Phrase" page |
| 112 | + When I select "MultiWallet2" wallet name on "Reuse your Recovery Phrase" page |
| 113 | + Then "MultiWallet2" wallet name is selected on "Reuse your Recovery Phrase" page |
| 114 | + When I click "Use same recovery phrase" button on "Reuse your Recovery Phrase" page |
| 115 | + Then "Confirm your password" page is displayed for wallet "MultiWallet2" |
| 116 | + When I enter invalid password for wallet "MultiWallet2" on "Confirm your password" page |
| 117 | + And I click "Confirm" button on "Confirm your password" page |
| 118 | + Then I see password error on "Confirm your password" page |
| 119 | + And "Confirm" button is disabled on "Confirm your password" page |
| 120 | + |
| 121 | + @LW-13741 |
| 122 | + Scenario: Extended-view - Multi-wallet - Trying to reuse the same mnemonic |
| 123 | + When I opened "Create" flow via "Add new wallet" feature |
| 124 | + And I select "Bitcoin" blockchain on the "Select a blockchain" page |
| 125 | + And I click "Next" button during wallet setup |
| 126 | + And I click "Understood" button on "Bitcoin warning" modal |
| 127 | + And I click "Next" button during wallet setup |
| 128 | + And I click "Use same recovery phrase" button on "Reuse your Recovery Phrase" page |
| 129 | + And I enter valid password for wallet "MultiWallet2" on "Confirm your password" page |
| 130 | + And I click "Confirm" button on "Confirm your password" page |
| 131 | + And I enter wallet name: "MultiWallet2", password: "N_8J@bne87A" and password confirmation: "N_8J@bne87A" |
| 132 | + And I click "Enter wallet" button |
| 133 | + Then I see LW homepage |
| 134 | + When I click "Receive" button on page header |
| 135 | + Then I see Bitcoin wallet name and address for wallet "MultiWallet2" in the Receive drawer |
| 136 | + When I close the drawer by clicking close button |
| 137 | + And I opened "Create" flow via "Add new wallet" feature |
| 138 | + And I select "Bitcoin" blockchain on the "Select a blockchain" page |
| 139 | + And I click "Next" button during wallet setup |
| 140 | + And I click "Understood" button on "Bitcoin warning" modal |
| 141 | + And I click "Next" button during wallet setup |
| 142 | + And I click "Use same recovery phrase" button on "Reuse your Recovery Phrase" page |
| 143 | + And I enter valid password for wallet "MultiWallet2" on "Confirm your password" page |
| 144 | + And I click "Confirm" button on "Confirm your password" page |
| 145 | + And I enter wallet name: "MultiWallet2", password: "N_8J@bne87A" and password confirmation: "N_8J@bne87A" |
| 146 | + And I click "Enter wallet" button |
| 147 | + Then I see LW homepage |
| 148 | + And I see a toast with text: "Wallet already exists" |
| 149 | + When I click "Receive" button on page header |
| 150 | + Then I see Bitcoin wallet name and address for wallet "MultiWallet2" in the Receive drawer |
0 commit comments