@@ -446,7 +446,7 @@ export async function confirmInputOnKeyboard() {
446446 }
447447}
448448
449- export async function acceptAppNotificationAlert (
449+ export async function handleAndroidAlert (
450450 button : string = 'permission_allow_button'
451451) : Promise < void > {
452452 if ( driver . isAndroid ) {
@@ -503,7 +503,7 @@ export async function completeOnboarding({ isFirstTime = true } = {}) {
503503 await waitForSetupWalletScreenFinish ( ) ;
504504
505505 if ( isFirstTime ) {
506- await acceptAppNotificationAlert ( ) ;
506+ await handleAndroidAlert ( ) ;
507507 }
508508
509509 // Wait for wallet to be created
@@ -559,7 +559,7 @@ export async function restoreWallet(
559559 await tap ( 'RestoreButton' ) ;
560560 await waitForSetupWalletScreenFinish ( ) ;
561561
562- await acceptAppNotificationAlert ( ) ;
562+ await handleAndroidAlert ( ) ;
563563
564564 // Wait for Get Started
565565 const getStarted = await elementById ( 'GetStartedButton' ) ;
@@ -878,7 +878,7 @@ export async function enterAddress(address: string, { acceptCameraPermission = t
878878 await tap ( 'Send' ) ;
879879 await sleep ( 700 ) ;
880880 if ( acceptCameraPermission ) {
881- await acceptAppNotificationAlert ( 'permission_allow_one_time_button' ) ;
881+ await handleAndroidAlert ( 'permission_allow_one_time_button' ) ;
882882 }
883883 await tap ( 'RecipientManual' ) ;
884884 await typeAddressAndVerifyContinue ( { address } ) ;
@@ -892,7 +892,7 @@ export async function enterAddressViaScanPrompt(
892892 await tap ( 'Scan' ) ;
893893 await sleep ( 700 ) ;
894894 if ( acceptCameraPermission ) {
895- await acceptAppNotificationAlert ( 'permission_allow_foreground_only_button' ) ;
895+ await handleAndroidAlert ( 'permission_allow_foreground_only_button' ) ;
896896 }
897897 await tap ( 'ScanPrompt' ) ;
898898 await typeText ( 'QRInput' , address ) ;
0 commit comments