Commit 75ff1ea
authored
fix: stabilize mainnet LN payment nightly tests (#130)
Addresses flaky LN payment tests (Strike/WOS) that were failing ~50%
of nightly runs due to timing and network issues on CI runners.
Changes to ln.e2e.ts:
- Replace fixed sleep(15s) with explicit wallet readiness check
- Add explicit waits between screen transitions (amount, confirm)
- Increase payment timeout from 60s to 300s for mainnet routing
- Add error toast detection (PaymentFailed, ExpiredLightning, etc.)
- Add diagnostic logging at each step for CI failure diagnosis
- Use 60s address resolution timeout for LNURL endpoints
Changes to actions.ts:
- Increase TOS Continue button timeout to 60s for slow CI emulators
- Increase RestoreButton timeout to 60s
- Dismiss Android keyboard after seed entry to prevent UI blocking
- Replace Suggestions widget check with TotalBalance-primary
- Add configurable timeout to typeAddressAndVerifyContinue
- Add configurable addressTimeout to enterAddress
Made-with: Cursor1 parent d70cbd0 commit 75ff1ea
2 files changed
Lines changed: 89 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | | - | |
| 674 | + | |
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
691 | 701 | | |
692 | 702 | | |
693 | 703 | | |
| |||
696 | 706 | | |
697 | 707 | | |
698 | 708 | | |
699 | | - | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
700 | 713 | | |
701 | 714 | | |
702 | 715 | | |
| |||
729 | 742 | | |
730 | 743 | | |
731 | 744 | | |
732 | | - | |
733 | | - | |
734 | | - | |
| 745 | + | |
735 | 746 | | |
736 | 747 | | |
737 | 748 | | |
| |||
1352 | 1363 | | |
1353 | 1364 | | |
1354 | 1365 | | |
| 1366 | + | |
1355 | 1367 | | |
1356 | 1368 | | |
1357 | 1369 | | |
| 1370 | + | |
1358 | 1371 | | |
1359 | 1372 | | |
1360 | 1373 | | |
1361 | | - | |
| 1374 | + | |
1362 | 1375 | | |
1363 | 1376 | | |
1364 | | - | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
1365 | 1381 | | |
1366 | 1382 | | |
1367 | 1383 | | |
1368 | 1384 | | |
1369 | 1385 | | |
1370 | 1386 | | |
1371 | | - | |
| 1387 | + | |
1372 | 1388 | | |
1373 | 1389 | | |
1374 | 1390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
| |||
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
55 | 107 | | |
| 108 | + | |
56 | 109 | | |
57 | 110 | | |
58 | 111 | | |
59 | 112 | | |
60 | 113 | | |
61 | 114 | | |
62 | | - | |
| 115 | + | |
63 | 116 | | |
64 | | - | |
65 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
66 | 120 | | |
| 121 | + | |
| 122 | + | |
67 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
68 | 127 | | |
69 | | - | |
| 128 | + | |
| 129 | + | |
70 | 130 | | |
| 131 | + | |
71 | 132 | | |
72 | 133 | | |
73 | 134 | | |
| |||
0 commit comments