File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ jobs:
108108 # - { name: onchain_boost_receive_widgets, grep: "@onchain|@boost|@receive|@widgets" }
109109 # - { name: settings, grep: "@settings" }
110110 # - { name: security, grep: "@security" }
111- - { name: e2e, grep: '@lnurl|@lightning|@backup|@onboarding|@onchain_1|@onchain_2|@numberpad|@widgets|@boost|@receive|@settings|@security' }
111+ - { name: e2e, grep: '@send|@ lnurl|@lightning|@backup|@onboarding|@onchain_1|@onchain_2|@numberpad|@widgets|@boost|@receive|@settings|@security' }
112112
113113 name : e2e-tests - ${{ matrix.shard.name }}
114114
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ struct QuickpaySettings: View {
1515 VStack ( alignment: . leading, spacing: 0 ) {
1616 SettingsListLabel (
1717 title: t ( " settings__quickpay__settings__toggle " ) ,
18- toggle: $settings. enableQuickpay
18+ toggle: $settings. enableQuickpay,
19+ testIdentifier: " QuickpayToggle "
1920 )
2021
2122 BodyMText (
Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ struct SendAmountView: View {
2020 app. scannedOnchainInvoice != nil && app. scannedLightningInvoice != nil
2121 }
2222
23+ private var assetButtonTestIdentifier : String {
24+ if canSwitchWallet {
25+ return " switch "
26+ }
27+ return app. selectedWalletToPayFrom == . lightning ? " spending " : " savings "
28+ }
29+
2330 /// The amount to display in the available balance section
2431 /// For onchain transactions, this shows the max sendable amount (balance minus fees)
2532 /// For lightning transactions, this shows the max sendable lightning amount minus routing fees
@@ -92,6 +99,7 @@ struct SendAmountView: View {
9299 app. selectedWalletToPayFrom. toggle ( )
93100 }
94101 }
102+ . accessibilityIdentifier ( " AssetButton- \( assetButtonTestIdentifier) " )
95103
96104 NumberPadActionButton (
97105 text: currency. primaryDisplay == . bitcoin ? " Bitcoin " : currency. selectedCurrency,
You can’t perform that action at this time.
0 commit comments