Repository navigation
fix: wrap receive tab swipes around #1027
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ab6d110
fix: wrap receive tab swipes around
ovitrif 6fbf185
chore: rename changelog fragment
ovitrif f9085b4
test: wrap receive tabs with usdt off in journey
ovitrif 4934e28
fix: hide receive wrap pages from accessibility
ovitrif 02fad0c
Merge remote-tracking branch 'origin/fix/usdt-receive-swipe-tabs' int…
ovitrif 364756f
test: say the receive wrap slides in journey
ovitrif 3fec826
test: swipe the receive pager in 1200 ms in journey
ovitrif ae4f35f
Merge remote-tracking branch 'origin/fix/usdt-receive-swipe-tabs' int…
ovitrif cf51fb2
test: cover receive wrap after a usdt tab tap in journey
ovitrif 912ac74
test: word the usdt exit check for both platforms in journey
ovitrif 0e39441
Merge remote-tracking branch 'origin/master' into fix/receive-tabs-wr…
ovitrif 12f6356
Merge remote-tracking branch 'origin/master' into fix/receive-tabs-wr…
ovitrif File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Swiping past the first or last Receive tab now wraps around to the tab at the other end. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| <journey name="receive tabs wraparound"> | ||
| <description> | ||
| On the Receive sheet, tab swipes wrap around: a swipe to the right on the first tab selects the | ||
| last tab, and a swipe to the left on the last tab selects the first. The wrap slides on to the | ||
| other end the way a swipe between neighbouring tabs does. A sideways swipe never closes | ||
| the Receive sheet, also when it is released above the sheet, and a tap on a QR still copies it. | ||
|
|
||
| Precondition: onboarded dev wallet with USDT enabled (introductory sheet or Settings, General, | ||
| Payments), no open Spending channel, no CJIT invoice pending and no hardware wallet paired, so the | ||
| tabs are Savings, Spending and USDT; a usable channel adds the Auto tab. Start on the wallet home | ||
| screen. The USDT address loads without funding; wait for the QR before swiping. | ||
|
|
||
| Swipe with AXe across the middle of the QR, about 60% of its width, in 300 ms (`axe swipe | ||
| --start-x 80 --start-y 440 --end-x 330 --end-y 440 --duration 0.3 --udid <udid>` to the right on a | ||
| 402 pt wide simulator). | ||
|
|
||
| iOS: the paged `TabView` holds an extra page before the first tab and after the last one; paging | ||
| onto either selects the tab at the other end. Leaving USDT crossfades rather than slides, since USDT replaces | ||
| the pager with its own view. | ||
| </description> | ||
| <actions> | ||
| <action>Tap Receive (id "Receive") and verify the Savings tab (id "Tab-savings") is selected</action> | ||
| <action>Swipe right across the Savings QR; verify the USDT tab (id "Tab-usdt") is selected and wait until the USDT QR is visible</action> | ||
| <action>Swipe left across the USDT QR; verify the Savings tab is selected</action> | ||
| <action>Start a screen recording, tap the USDT tab (id "Tab-usdt") and wait until the USDT QR is visible, then swipe left across the USDT QR; verify the Savings tab is selected and the recording goes straight from the USDT QR to the Savings QR, with no Auto or Spending QR and no second USDT screen in between</action> | ||
| <action>Start a screen recording, tap the USDT tab and wait until the USDT QR is visible, then tap the Savings tab; verify the Savings tab is selected and the recording shows the same direct change from USDT to Savings</action> | ||
| <action>Swipe left across the Savings QR in 1200 ms (`axe swipe --start-x 330 --start-y 440 --end-x 80 --end-y 440 --duration 1.2`); verify the Spending tab (id "Tab-spending") is selected</action> | ||
| <action>Swipe left across the Spending content in 1200 ms; verify the USDT tab is selected and wait until its QR is visible</action> | ||
| <action>Swipe left from the top right of the USDT QR to above the sheet (`axe swipe --start-x 360 --start-y 300 --end-x 30 --end-y 60 --duration 0.3`); verify the Receive sheet is still open and the Savings tab is selected</action> | ||
| <action>Swipe right from the top left of the Savings QR to above the sheet (`axe swipe --start-x 40 --start-y 300 --end-x 380 --end-y 60 --duration 0.3`); verify the Receive sheet is still open and the USDT tab is selected</action> | ||
| <action>Swipe left across the USDT QR, then tap the Savings QR once; verify the "copied" tooltip appears</action> | ||
| <action>Close Receive, turn USDT off (Settings, General, Payments), return to the wallet home screen and tap Receive; verify the Savings tab is selected and only Savings and Spending show</action> | ||
| <action>Swipe right across the Savings QR; verify the Spending tab is selected</action> | ||
| <action>Swipe right across the Spending content; verify the Savings tab is selected</action> | ||
| <action>Swipe left across the Savings QR; verify the Spending tab is selected</action> | ||
| <action>Swipe left across the Spending content; verify the Savings tab is selected</action> | ||
| <action>Swipe left across the Savings QR; verify the Spending tab is selected</action> | ||
| </actions> | ||
| </journey> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.