@@ -162,17 +162,16 @@ describe('@lnurl - LNURL', () => {
162162 console . log ( 'payRequest1' , payRequest1 ) ;
163163
164164 await enterAddressViaScanPrompt ( payRequest1 . encoded , { acceptCameraPermission : false } ) ;
165- await expectTextWithin ( 'SendNumberField' , sats ) ;
165+ await expectTextWithin ( 'SendNumberField' , '0' ) ;
166166 // Check amounts 99 - 201 not allowed
167- await multiTap ( 'NRemove' , 3 ) ; // remove "100"
168167 await tap ( 'N2' ) ;
169168 await tap ( 'N0' ) ;
170169 await tap ( 'N1' ) ;
171170 await expectTextWithin ( 'SendNumberField' , '201' ) ;
172171 await elementById ( 'ContinueAmount' ) . waitForEnabled ( { reverse : true } ) ;
173172 await multiTap ( 'NRemove' , 3 ) ; // remove "201"
174173 await multiTap ( 'N9' , 2 ) ;
175-
174+
176175 await expectTextWithin ( 'SendNumberField' , '99' ) ;
177176 await tap ( 'ContinueAmount' ) ;
178177 await waitForToast ( 'LnurlPayAmountTooLowToast' ) ;
@@ -241,7 +240,6 @@ describe('@lnurl - LNURL', () => {
241240
242241 // lnurl-pay via manual entry
243242 const minSendable = 321000 ; // msats
244- const minSendableSats = ( minSendable / 1000 ) . toString ( ) ;
245243 const payRequest3 = await lnurlServer . generateNewUrl ( 'payRequest' , {
246244 minSendable,
247245 maxSendable : 350000 ,
@@ -250,7 +248,11 @@ describe('@lnurl - LNURL', () => {
250248 console . log ( 'payRequest3' , payRequest3 ) ;
251249
252250 await enterAddress ( payRequest3 . encoded , { acceptCameraPermission : false } ) ;
253- await expectTextWithin ( 'SendNumberField' , minSendableSats ) ;
251+ await expectTextWithin ( 'SendNumberField' , '0' ) ;
252+ // go with 321
253+ await tap ( 'N3' ) ;
254+ await tap ( 'N2' ) ;
255+ await tap ( 'N1' ) ;
254256 await elementById ( 'ContinueAmount' ) . waitForDisplayed ( ) ;
255257 await tap ( 'ContinueAmount' ) ;
256258 await dragOnElement ( 'GRAB' , 'right' , 0.95 ) ;
0 commit comments