From cadc58bcbff7da3818550e00bcdc4c94a80d637a Mon Sep 17 00:00:00 2001 From: Sheldon Regular Date: Thu, 3 Oct 2024 12:12:03 -0400 Subject: [PATCH] Fix pin page crash in bc wallet automation Signed-off-by: Sheldon Regular --- aries-mobile-tests/features/steps/bc_wallet/security.py | 4 ++++ aries-mobile-tests/sl_ios_config.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/aries-mobile-tests/features/steps/bc_wallet/security.py b/aries-mobile-tests/features/steps/bc_wallet/security.py index c267fe2..e72ee41 100644 --- a/aries-mobile-tests/features/steps/bc_wallet/security.py +++ b/aries-mobile-tests/features/steps/bc_wallet/security.py @@ -7,6 +7,7 @@ import json import os from decouple import config +from time import sleep # Local Imports from agent_controller_client import agent_controller_GET, agent_controller_POST, expected_agent_state, setup_already_connected @@ -155,6 +156,9 @@ def step_impl(context): @when('they relaunch the app') def step_impl(context): context.driver.activate_app(context.driver.capabilities[get_package_or_bundle_id(context)]) + # There is a crash issue in the automation when entering the pin right after a restart. + # wait 5 seconds to stop the crashing or minimize at least. + sleep(5) def get_package_or_bundle_id(context): if context.driver.capabilities['platformName'] == 'iOS': diff --git a/aries-mobile-tests/sl_ios_config.json b/aries-mobile-tests/sl_ios_config.json index bb8c9bb..f9570a7 100644 --- a/aries-mobile-tests/sl_ios_config.json +++ b/aries-mobile-tests/sl_ios_config.json @@ -8,7 +8,7 @@ "autoAcceptAlerts": true, "autoDismissAlerts": true, "automationName": "xcuitest", - "platformVersion": "16.7|13.7|14.8|15.7.5" + "platformVersion": "18|17.7|16.7|13.7|14.8|15.8" }, "sauce:options": { "appiumVersion": "latest",