From ceb5308bab81e1a96ce7093aef68fb3114ba6de6 Mon Sep 17 00:00:00 2001 From: Yevheniia Berdnyk Date: Thu, 2 Nov 2023 17:55:44 +0200 Subject: [PATCH] e2e: trying android14 --- test/appium/tests/base_test_case.py | 2 +- test/appium/views/sign_in_view.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/appium/tests/base_test_case.py b/test/appium/tests/base_test_case.py index 027ac802b65c..a62cb71b7e78 100644 --- a/test/appium/tests/base_test_case.py +++ b/test/appium/tests/base_test_case.py @@ -67,7 +67,7 @@ def get_capabilities_sauce_lab(): caps['appium:app'] = 'sauce-storage:' + test_suite_data.apk_name caps['appium:deviceName'] = 'Android GoogleAPI Emulator' caps['appium:deviceOrientation'] = 'portrait' - caps['appium:platformVersion'] = '12.0' + caps['appium:platformVersion'] = '14.0' caps['appium:automationName'] = 'UiAutomator2' caps['appium:newCommandTimeout'] = 600 caps['appium:idleTimeout'] = 1000 diff --git a/test/appium/views/sign_in_view.py b/test/appium/views/sign_in_view.py index 036a848df6af..e7be5ed2810e 100644 --- a/test/appium/views/sign_in_view.py +++ b/test/appium/views/sign_in_view.py @@ -251,6 +251,8 @@ def create_user(self, password=common_password, keycard=False, enable_notificati self.identifiers_button.wait_and_click(30) if enable_notifications: self.enable_notifications_button.click_until_presence_of_element(self.start_button) + if self.allow_button.is_element_displayed(): + self.allow_button.click() else: self.maybe_later_button.click_until_presence_of_element(self.start_button) self.start_button.click()