From 3181280bf5df08f9456fb4c4766fcc8e7cad1bfd Mon Sep 17 00:00:00 2001 From: Serhy Date: Wed, 27 May 2020 15:40:07 +0300 Subject: [PATCH] Remove keyboard capability Signed-off-by: Serhy --- test/appium/tests/atomic/account_management/test_profile.py | 4 ++-- test/appium/tests/base_test_case.py | 2 -- test/appium/tests/test_api.py | 3 ++- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/appium/tests/atomic/account_management/test_profile.py b/test/appium/tests/atomic/account_management/test_profile.py index 78964ac58d..7bb971c493 100644 --- a/test/appium/tests/atomic/account_management/test_profile.py +++ b/test/appium/tests/atomic/account_management/test_profile.py @@ -281,8 +281,8 @@ class TestProfileSingleDevice(SingleDeviceTestCase): self.errors.append("Can't proceed using account after it's re-recover twice.") self.errors.verify_no_errors() - @marks.testrail_id(5329) - @marks.critical + @marks.testrail_id(6296) + @marks.high def test_recover_account_from_new_user_seedphrase(self): sign_in_view = SignInView(self.driver) sign_in_view.create_user() diff --git a/test/appium/tests/base_test_case.py b/test/appium/tests/base_test_case.py index 0cb4a102fb..77b5dc70fb 100644 --- a/test/appium/tests/base_test_case.py +++ b/test/appium/tests/base_test_case.py @@ -66,7 +66,6 @@ class AbstractTestCase: desired_caps['commandTimeout'] = 600 desired_caps['idleTimeout'] = 1000 desired_caps['unicodeKeyboard'] = True - desired_caps['resetKeyboard'] = True desired_caps['automationName'] = 'UiAutomator2' desired_caps['setWebContentDebuggingEnabled'] = True desired_caps['ignoreUnimportantViews'] = False @@ -95,7 +94,6 @@ class AbstractTestCase: desired_caps['newCommandTimeout'] = 600 desired_caps['fullReset'] = False desired_caps['unicodeKeyboard'] = True - desired_caps['resetKeyboard'] = True desired_caps['automationName'] = 'UiAutomator2' desired_caps['setWebContentDebuggingEnabled'] = True return desired_caps diff --git a/test/appium/tests/test_api.py b/test/appium/tests/test_api.py index e9ff8f9ba6..13ac8c9744 100644 --- a/test/appium/tests/test_api.py +++ b/test/appium/tests/test_api.py @@ -14,13 +14,14 @@ def get_parameters(): file_path = path.join(directory, 'src/status_im/ethereum/tokens.cljs') with open(file_path, 'r') as f: data = f.read() - return re.findall('{:symbol\s*:(.*)\n\s*:name\s*"(.*)"\n\s*:address\s*"(.*)"\n\s*:decimals\s*(.*)}', data) + return re.findall(r'{:symbol\s*:(.*)\n\s*:name\s*"(.*)"\n\s*:address\s*"(.*)"\n\s*:decimals\s*(.*)}', data) class TestAPi(object): @marks.api @pytest.mark.parametrize('symbol,name,address,decimals', get_parameters()) + @pytest.mark.skip def test_tokens_verification(self, symbol, name, address, decimals): res = get_token_info(address) errors = list()