Skip to content

Commit 591bfbd

Browse files
committed
docs: update hw journey test tags
1 parent 1af46dd commit 591bfbd

4 files changed

Lines changed: 21 additions & 17 deletions

File tree

journeys/hardware-wallet/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,14 @@ Remove step forgets the device.
6767
| `settings-hardware-wallets.xml` | Payments count row, Hardware Wallets screen list, Add button sheet/back dismiss, per-row delete confirm + re-pair |
6868
| `detail-overview.xml` | Detail screen overview, Transfer placeholder when funded, activity, Remove confirm + forget |
6969

70-
Connect-flow testTags: `HardwareSheet`, `HwIntroScreen`, `HwSearchingScreen`,
71-
`HwFoundScreen`, `HwPairedScreen`, `HwPairedLabelField`, `HwPairedFinish`,
72-
`HwPairScreen` (inline pair code, physical device only), `HwSearchingError`, and
73-
`HwFoundError`.
70+
Connect-flow testTags: `HardwareWalletSheet`, `HardwareWalletIntroScreen`,
71+
`HardwareWalletIntroCancel`, `HardwareWalletIntroContinue`,
72+
`HardwareWalletSearchingScreen`, `HardwareWalletSearchingCancel`,
73+
`HardwareWalletFoundScreen`, `HardwareWalletFoundCancel`,
74+
`HardwareWalletFoundConnect`, `HardwareWalletPairedScreen`,
75+
`HardwareWalletLabelInput`, `HardwareWalletPairedFinish`,
76+
`HardwareWalletPairCodeScreen` (inline pair code, physical device only),
77+
`HwSearchingError`, and `HwFoundError`.
7478

7579
The current Connect Hardware sheet starts USB discovery immediately after Continue. BLE is
7680
included only once Android nearby-devices permission is granted and Bluetooth is enabled.

journeys/hardware-wallet/connect-flow.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,25 @@
2424
Tap the "Add Hardware Wallet" button (testTag "AddHardwareWallet")
2525
</action>
2626
<action>
27-
Verify a bottom sheet opens titled "Hardware Wallet" (testTag "HwIntroScreen"); tap the "Continue" button
27+
Verify a bottom sheet opens titled "Hardware Wallet" (testTag "HardwareWalletIntroScreen"); tap the "Continue" button (testTag "HardwareWalletIntroContinue")
2828
</action>
2929
<action>
30-
Verify the sheet advances to the "Connect Device" step (testTag "HwSearchingScreen") headed "Searching for devices"
30+
Verify the sheet advances to the "Connect Device" step (testTag "HardwareWalletSearchingScreen") headed "Searching for devices"
3131
</action>
3232
<action>
3333
If Android shows a Nearby devices/Bluetooth permission prompt or Bluetooth enable prompt, allow it and continue waiting on the Searching step
3434
</action>
3535
<action>
36-
Verify the sheet advances to the "Found Device" step (testTag "HwFoundScreen") headed "Found Trezor" within 15 seconds, then tap "Connect"
36+
Verify the sheet advances to the "Found Device" step (testTag "HardwareWalletFoundScreen") headed "Found Trezor" within 15 seconds, then tap "Connect" (testTag "HardwareWalletFoundConnect")
3737
</action>
3838
<action>
39-
Verify the sheet advances to the "Device Connected" step (testTag "HwPairedScreen") headed "Paired Trezor", showing a balance and an editable "Label Funds" field, with no PIN or pairing prompt
39+
Verify the sheet advances to the "Device Connected" step (testTag "HardwareWalletPairedScreen") headed "Paired Trezor", showing a balance and an editable "Label Funds" field, with no PIN or pairing prompt
4040
</action>
4141
<action>
42-
Clear the "Label Funds" field (testTag "HwPairedLabelField") and type "My Trezor"
42+
Clear the "Label Funds" field (testTag "HardwareWalletLabelInput") and type "My Trezor"
4343
</action>
4444
<action>
45-
Tap the "Finish" button (testTag "HwPairedFinish") and verify the sheet closes back to the Hardware Wallets screen
45+
Tap the "Finish" button (testTag "HardwareWalletPairedFinish") and verify the sheet closes back to the Hardware Wallets screen
4646
</action>
4747
<action>
4848
Verify the Hardware Wallets screen now lists one paired device named "My Trezor" with a green connection indicator

journeys/hardware-wallet/settings-hardware-wallets.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
Tap the "Add Hardware Wallet" button near the bottom (testTag "AddHardwareWallet")
3131
</action>
3232
<action>
33-
Verify a bottom sheet opens titled "Hardware Wallet" (testTag "HwIntroScreen") showing hardware device illustrations, then press Android back and verify the sheet closes back to the Hardware Wallets screen
33+
Verify a bottom sheet opens titled "Hardware Wallet" (testTag "HardwareWalletIntroScreen") showing hardware device illustrations, then press Android back and verify the sheet closes back to the Hardware Wallets screen
3434
</action>
3535
<action>
3636
Tap the trash (delete) icon on the device row

journeys/hardware-wallet/suggestion-intro-sheet.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,28 @@
2626
Tap the "Hardware" suggestion card
2727
</action>
2828
<action>
29-
Verify a bottom sheet opens titled "Hardware Wallet" (testTag "HwIntroScreen") showing hardware device illustrations
29+
Verify a bottom sheet opens titled "Hardware Wallet" (testTag "HardwareWalletIntroScreen") showing hardware device illustrations
3030
</action>
3131
<action>
3232
Verify the headline reads "Add your hardware wallet" with the words "hardware wallet" in blue
3333
</action>
3434
<action>
35-
Tap the "Continue" button and verify the sheet advances to the "Connect Device" step headed "Searching for devices", showing a loading animation and a "Cancel" button
35+
Tap the "Continue" button (testTag "HardwareWalletIntroContinue") and verify the sheet advances to the "Connect Device" step (testTag "HardwareWalletSearchingScreen") headed "Searching for devices", showing a loading animation and a "Cancel" button (testTag "HardwareWalletSearchingCancel")
3636
</action>
3737
<action>
3838
If Android shows a Nearby devices/Bluetooth permission prompt or Bluetooth enable prompt, allow it and continue waiting on the Searching step
3939
</action>
4040
<action>
41-
Verify the sheet advances to the "Found Device" step within 15 seconds, headed "Found Trezor" with a "Connect" button
41+
Verify the sheet advances to the "Found Device" step (testTag "HardwareWalletFoundScreen") within 15 seconds, headed "Found Trezor" with a "Connect" button
4242
</action>
4343
<action>
44-
Tap the "Connect" button
44+
Tap the "Connect" button (testTag "HardwareWalletFoundConnect")
4545
</action>
4646
<action>
47-
Verify the sheet advances to the "Device Connected" step headed "Paired Trezor" within 15 seconds, showing a balance and an editable "Label Funds" field defaulting to the device name, with no PIN or pairing prompt
47+
Verify the sheet advances to the "Device Connected" step (testTag "HardwareWalletPairedScreen") headed "Paired Trezor" within 15 seconds, showing a balance and an editable "Label Funds" field (testTag "HardwareWalletLabelInput") defaulting to the device name, with no PIN or pairing prompt
4848
</action>
4949
<action>
50-
Tap the "Finish" button and verify the sheet closes back to the home screen
50+
Tap the "Finish" button (testTag "HardwareWalletPairedFinish") and verify the sheet closes back to the home screen
5151
</action>
5252
<action>
5353
Verify the hardware wallet tile reappears beneath the SAVINGS and SPENDING tiles with the device name and a green connection indicator

0 commit comments

Comments
 (0)