Skip to content

Commit 12d497e

Browse files
committed
✅ app: ensure due maturity is visible on small screens
1 parent 0957454 commit 12d497e

3 files changed

Lines changed: 48 additions & 4 deletions

File tree

.changeset/metal-bottles-tap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@exactly/mobile": patch
3+
---
4+
5+
✅ ensure due maturity is visible on small screens

.maestro/subflows/repay.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
appId: ${APP_ID ?? "app.exactly"}
22
---
33
- waitForAnimationToEnd
4-
- scrollUntilVisible: { element: Upcoming payments }
4+
- repeat:
5+
while:
6+
notVisible:
7+
text: \d+[,.]\d{2}
8+
below: Upcoming payments
9+
leftOf: Repay
10+
commands:
11+
- swipe:
12+
start: "50%, 40%"
13+
end: "50%, 10%"
14+
duration: 500
515
- copyTextFrom:
616
text: \d+[,.]\d{2}
717
below: Upcoming payments
@@ -43,7 +53,16 @@ appId: ${APP_ID ?? "app.exactly"}
4353
file: ../subflows/tapWhileAria.yaml
4454
env: { aria: Pending proposals, tap: Home }
4555
- waitForAnimationToEnd
46-
- scrollUntilVisible: { element: Upcoming payments }
56+
- repeat:
57+
while:
58+
notVisible:
59+
text: \d+[,.]\d{2}
60+
below: Upcoming payments
61+
commands:
62+
- swipe:
63+
start: "50%, 40%"
64+
end: "50%, 10%"
65+
duration: 500
4766
- runFlow:
4867
when: { true: "${!amount}" }
4968
commands: [{ assertNotVisible: "${output.maturity}" }]

.maestro/subflows/rollover.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
appId: ${APP_ID ?? "app.exactly"}
22
---
33
- waitForAnimationToEnd
4-
- scrollUntilVisible: { element: Upcoming payments }
4+
- repeat:
5+
while:
6+
notVisible:
7+
text: \d+[,.]\d{2}
8+
below: Upcoming payments
9+
leftOf: Repay
10+
commands:
11+
- swipe:
12+
start: "50%, 40%"
13+
end: "50%, 10%"
14+
duration: 500
515
- copyTextFrom:
616
text: \d+[,.]\d{2}
717
below: Upcoming payments
@@ -28,7 +38,17 @@ appId: ${APP_ID ?? "app.exactly"}
2838
file: ../subflows/tapWhileAria.yaml
2939
env: { aria: Pending proposals, tap: Home }
3040
- waitForAnimationToEnd
31-
- scrollUntilVisible: { element: Upcoming payments }
41+
- repeat:
42+
while:
43+
notVisible:
44+
text: \d+[,.]\d{2}
45+
below: Upcoming payments
46+
leftOf: Repay
47+
commands:
48+
- swipe:
49+
start: "50%, 40%"
50+
end: "50%, 10%"
51+
duration: 500
3252
- copyTextFrom:
3353
text: \d+[,.]\d{2}
3454
below: Upcoming payments

0 commit comments

Comments
 (0)