From cfb4c8073a79ad07744afdc1175cce809e62807a Mon Sep 17 00:00:00 2001 From: tauqirsarwar1 Date: Thu, 21 Mar 2024 14:07:15 +0500 Subject: [PATCH 1/3] work around for docker --- frontend/test_project/features/mobile/android_login.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/test_project/features/mobile/android_login.feature b/frontend/test_project/features/mobile/android_login.feature index 1d174934..43882c67 100644 --- a/frontend/test_project/features/mobile/android_login.feature +++ b/frontend/test_project/features/mobile/android_login.feature @@ -77,6 +77,7 @@ Feature: Basic App functionality When I set text 'Tauqir Sarwar' to field 'Android > _mob > an-Payment_Detail > Full_name' And I swipe down '50' % each time for '1' times And I set text '325885556585999' to field 'Android > _mob > an-Payment_Detail > Card_Number' + And I swipe down '50' % each time for '1' times And I set text '0325' to field 'Android > _mob > an-Payment_Detail > expired_card' And I set text '123' to field 'Android > _mob > an-Payment_Detail > CVV' Then The element 'Android > _mob > an-Review_Order > Review' is displayed From 0518f58be42827433b7a53592ce24b941810d0ef Mon Sep 17 00:00:00 2001 From: tauqirsarwar1 Date: Thu, 21 Mar 2024 14:27:31 +0500 Subject: [PATCH 2/3] work around for docker --- frontend/test_project/features/mobile/android_login.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/test_project/features/mobile/android_login.feature b/frontend/test_project/features/mobile/android_login.feature index 43882c67..2c538493 100644 --- a/frontend/test_project/features/mobile/android_login.feature +++ b/frontend/test_project/features/mobile/android_login.feature @@ -82,6 +82,7 @@ Feature: Basic App functionality And I set text '123' to field 'Android > _mob > an-Payment_Detail > CVV' Then The element 'Android > _mob > an-Review_Order > Review' is displayed When I click on element 'Android > _mob > an-Review_Order > Review' + And I swipe down '50' % each time for '2' times Then The element 'Android > _mob > an-Review_Order > Total' is displayed When I click on element 'Android > _mob > an-Review_Order > Place_Order' Then The element 'Android > _mob > an-Review_Order > Order_Complete' is displayed From 723b11fef66559fcf68b6ccbded6bdd55cdd5b4a Mon Sep 17 00:00:00 2001 From: tauqirsarwar1 Date: Thu, 21 Mar 2024 15:05:52 +0500 Subject: [PATCH 3/3] work around for docker --- env_configs/android_mobile_docker.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/env_configs/android_mobile_docker.json b/env_configs/android_mobile_docker.json index fc49260d..5e034291 100644 --- a/env_configs/android_mobile_docker.json +++ b/env_configs/android_mobile_docker.json @@ -5,8 +5,8 @@ "app": "/Users/runner/work/pytest-automation-boilerplate/pytest-automation-boilerplate/app files/builds/Android-MyDemoAppRN.1.3.0.build-244.apk", "noReset": false, "newCommandTimeout": 300, - "adbExecTimeout": 1200000, - "appWaitDuration": 60000, + "adbExecTimeout": 2400000, + "appWaitDuration": 120000, "uiautomator2ServerInstallTimeout": 1200000 } }