Update set of critical tests #7658

Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
Serhy 2019-03-05 18:43:30 +02:00
parent aa0c457382
commit 54a364a78f
No known key found for this signature in database
GPG Key ID: 5D7C4B9E2B6F500B
11 changed files with 17 additions and 15 deletions

View File

@ -12,6 +12,7 @@ class TestCreateAccount(SingleDeviceTestCase):
@marks.testrail_id(5300)
@marks.critical
@marks.battery_consumption
@marks.skip
def test_create_account(self):
sign_in = SignInView(self.driver, skip_popups=False)
sign_in.accept_agreements()

View File

@ -12,7 +12,7 @@ from views.sign_in_view import SignInView
class TestProfileSingleDevice(SingleDeviceTestCase):
@marks.testrail_id(5302)
@marks.critical
@marks.high
def test_set_profile_picture(self):
sign_in_view = SignInView(self.driver)
sign_in_view.create_user()
@ -250,7 +250,7 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
profile.deny_button.wait_for_visibility_of_element(2)
@marks.testrail_id(5299)
@marks.critical
@marks.high
def test_user_can_switch_network(self):
signin_view = SignInView(self.driver)
home_view = signin_view.create_user()

View File

@ -14,6 +14,7 @@ class TestRecoverAccountSingleDevice(SingleDeviceTestCase):
@marks.testrail_id(5301)
@marks.critical
@marks.battery_consumption
@marks.skip
def test_recover_account(self):
sign_in = SignInView(self.driver)
home = sign_in.create_user()
@ -67,7 +68,7 @@ class TestRecoverAccountSingleDevice(SingleDeviceTestCase):
class TestRecoverAccessFromSignInScreen(SingleDeviceTestCase):
@marks.testrail_id(5363)
@marks.critical
@marks.high
def test_pass_phrase_validation(self):
signin_view = SignInView(self.driver)
recover_access_view = signin_view.i_have_account_button.click()
@ -137,7 +138,7 @@ class TestRecoverAccessFromSignInScreen(SingleDeviceTestCase):
self.verify_no_errors()
@marks.testrail_id(5499)
@marks.critical
@marks.medium
def test_passphrase_whitespaces_ignored_while_recovering_access(self):
signin_view = SignInView(self.driver)
sender = transaction_senders['U']

View File

@ -55,7 +55,7 @@ class TestSignIn(SingleDeviceTestCase):
class TestSignInOffline(MultipleDeviceTestCase):
@marks.testrail_id(5327)
@marks.critical
@marks.medium
def test_offline_login(self):
self.create_drivers(1)
sign_in = SignInView(self.drivers[0])

View File

@ -11,7 +11,7 @@ from views.sign_in_view import SignInView
class TestWalletManagement(SingleDeviceTestCase):
@marks.testrail_id(5335)
@marks.critical
@marks.high
def test_wallet_set_up(self):
sign_in = SignInView(self.driver)
sign_in.create_user()

View File

@ -67,7 +67,7 @@ class TestChatManagement(SingleDeviceTestCase):
self.verify_no_errors()
@marks.testrail_id(5304)
@marks.critical
@marks.high
def test_open_chat_by_pasting_public_key(self):
sign_in = SignInView(self.driver)
home = sign_in.create_user()

View File

@ -341,7 +341,7 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase):
class TestCommandsSingleDevices(SingleDeviceTestCase):
@marks.testrail_id(5349)
@marks.critical
@marks.high
def test_send_request_not_enabled_tokens(self):
sign_in = SignInView(self.driver)
home = sign_in.create_user()
@ -373,7 +373,7 @@ class TestCommandsSingleDevices(SingleDeviceTestCase):
chat.check_no_values_in_logcat(password=unique_password)
@marks.testrail_id(5347)
@marks.critical
@marks.high
def test_send_transaction_details_in_1_1_chat(self):
recipient = basic_user
sender = transaction_senders['G']

View File

@ -51,7 +51,7 @@ class TestGroupChatMultipleDevice(MultipleDeviceTestCase):
self.verify_no_errors()
@marks.testrail_id(3993)
@marks.high
@marks.critical
def test_send_message_in_group_chat(self):
message_from_device_1 = 'Hello from device 1'
message_from_device_2 = 'Hi there! Sent from device 2'

View File

@ -102,7 +102,7 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase):
chat_2.chat_element_by_text(message).wait_for_visibility_of_element()
@marks.testrail_id(5315)
@marks.critical
@marks.high
def test_send_message_to_newly_added_contact(self):
self.create_drivers(2)
device_1, device_2 = SignInView(self.drivers[0]), SignInView(self.drivers[1])
@ -504,7 +504,7 @@ class TestMessagesOneToOneChatSingle(SingleDeviceTestCase):
self.verify_no_errors()
@marks.testrail_id(5322)
@marks.critical
@marks.medium
def test_delete_cut_and_paste_messages(self):
sign_in = SignInView(self.driver)
home = sign_in.create_user()

View File

@ -84,7 +84,7 @@ class TestTransactionDApp(SingleDeviceTestCase):
@marks.testrail_id(5744)
@marks.high
@marks.critical
def test_send_two_transactions_one_after_another_in_dapp(self):
sender = transaction_senders['Z']
sign_in_view = SignInView(self.driver)
@ -153,7 +153,7 @@ class TestTransactionDApp(SingleDeviceTestCase):
wallet_view.wait_balance_changed_on_wallet_screen()
@marks.testrail_id(5355)
@marks.critical
@marks.medium
def test_onboarding_screen_when_requesting_tokens_for_new_account(self):
signin_view = SignInView(self.driver)
home_view = signin_view.create_user()

View File

@ -209,7 +209,7 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase):
self.network_api.find_transaction_by_unique_amount(recipient['address'], amount, token=True, decimals=7)
@marks.testrail_id(5351)
@marks.critical
@marks.high
def test_token_with_more_than_allowed_decimals(self):
sender = wallet_users['C']
sign_in_view = SignInView(self.driver)