Skip to content

Commit cfbe337

Browse files
committed
test: update journeys
1 parent c36f744 commit cfbe337

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<journey name="notification toggle off opens system settings">
2+
<description>
3+
Verifies that when the "Set up in background" toggle is already ON (POST_NOTIFICATIONS
4+
granted), tapping it opens the system notification settings instead of re-requesting the
5+
permission (which would be a no-op). Uses the Receive → CJIT confirm screen, but the
6+
behaviour is shared by the transfer and liquidity toggles.
7+
8+
Precondition: API 33+ onboarded dev wallet with the node connected to the LSP so a CJIT
9+
order can be quoted, and POST_NOTIFICATIONS ALREADY GRANTED so the toggle starts checked
10+
(grant via: adb shell pm grant to.bitkit.dev android.permission.POST_NOTIFICATIONS).
11+
Start on the wallet home screen.
12+
</description>
13+
<actions>
14+
<action>Tap the "Receive" button on the home screen</action>
15+
<action>Tap the "Spending" tab in the Receive sheet</action>
16+
<action>Tap "Receive Lightning funds"</action>
17+
<action>On the amount screen, enter an amount above the CJIT minimum (e.g. 100 000 sats) using the number pad</action>
18+
<action>Tap "Continue" and wait for the confirm screen to appear</action>
19+
<action>Verify the "Set up in background" toggle (testTag "ReceiveConfirmNotificationSwitch") is visible and checked</action>
20+
<action>Tap the "Set up in background" toggle</action>
21+
<action>Verify the Android system notification settings screen for Bitkit opens (no in-app navigation, no permission dialog)</action>
22+
<action>Press back to return to Bitkit and verify the confirm screen is still shown</action>
23+
</actions>
24+
</journey>

0 commit comments

Comments
 (0)