Remove keyboard capability

Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
Serhy 2020-05-27 15:40:07 +03:00
parent 6d937511ca
commit 3181280bf5
No known key found for this signature in database
GPG Key ID: 5D7C4B9E2B6F500B
3 changed files with 4 additions and 5 deletions

View File

@ -281,8 +281,8 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
self.errors.append("Can't proceed using account after it's re-recover twice.") self.errors.append("Can't proceed using account after it's re-recover twice.")
self.errors.verify_no_errors() self.errors.verify_no_errors()
@marks.testrail_id(5329) @marks.testrail_id(6296)
@marks.critical @marks.high
def test_recover_account_from_new_user_seedphrase(self): def test_recover_account_from_new_user_seedphrase(self):
sign_in_view = SignInView(self.driver) sign_in_view = SignInView(self.driver)
sign_in_view.create_user() sign_in_view.create_user()

View File

@ -66,7 +66,6 @@ class AbstractTestCase:
desired_caps['commandTimeout'] = 600 desired_caps['commandTimeout'] = 600
desired_caps['idleTimeout'] = 1000 desired_caps['idleTimeout'] = 1000
desired_caps['unicodeKeyboard'] = True desired_caps['unicodeKeyboard'] = True
desired_caps['resetKeyboard'] = True
desired_caps['automationName'] = 'UiAutomator2' desired_caps['automationName'] = 'UiAutomator2'
desired_caps['setWebContentDebuggingEnabled'] = True desired_caps['setWebContentDebuggingEnabled'] = True
desired_caps['ignoreUnimportantViews'] = False desired_caps['ignoreUnimportantViews'] = False
@ -95,7 +94,6 @@ class AbstractTestCase:
desired_caps['newCommandTimeout'] = 600 desired_caps['newCommandTimeout'] = 600
desired_caps['fullReset'] = False desired_caps['fullReset'] = False
desired_caps['unicodeKeyboard'] = True desired_caps['unicodeKeyboard'] = True
desired_caps['resetKeyboard'] = True
desired_caps['automationName'] = 'UiAutomator2' desired_caps['automationName'] = 'UiAutomator2'
desired_caps['setWebContentDebuggingEnabled'] = True desired_caps['setWebContentDebuggingEnabled'] = True
return desired_caps return desired_caps

View File

@ -14,13 +14,14 @@ def get_parameters():
file_path = path.join(directory, 'src/status_im/ethereum/tokens.cljs') file_path = path.join(directory, 'src/status_im/ethereum/tokens.cljs')
with open(file_path, 'r') as f: with open(file_path, 'r') as f:
data = f.read() 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): class TestAPi(object):
@marks.api @marks.api
@pytest.mark.parametrize('symbol,name,address,decimals', get_parameters()) @pytest.mark.parametrize('symbol,name,address,decimals', get_parameters())
@pytest.mark.skip
def test_tokens_verification(self, symbol, name, address, decimals): def test_tokens_verification(self, symbol, name, address, decimals):
res = get_token_info(address) res = get_token_info(address)
errors = list() errors = list()