mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
Disable wallet modal tests
Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
parent
73668d2e53
commit
aa0c457382
@ -367,6 +367,7 @@ class TestProfileMultipleDevice(MultipleDeviceTestCase):
|
|||||||
profile_1.specify_name_input.set_value(server_name)
|
profile_1.specify_name_input.set_value(server_name)
|
||||||
profile_1.mail_server_address_input.set_value(mailserver_address)
|
profile_1.mail_server_address_input.set_value(mailserver_address)
|
||||||
profile_1.save_button.click()
|
profile_1.save_button.click()
|
||||||
|
profile_1.mail_server_auto_selection_button.click()
|
||||||
profile_1.mail_server_by_name(server_name).click()
|
profile_1.mail_server_by_name(server_name).click()
|
||||||
profile_1.mail_server_connect_button.click()
|
profile_1.mail_server_connect_button.click()
|
||||||
profile_1.confirm_button.click()
|
profile_1.confirm_button.click()
|
||||||
|
@ -11,6 +11,7 @@ class TestWalletModal(SingleDeviceTestCase):
|
|||||||
|
|
||||||
@marks.testrail_id(5398)
|
@marks.testrail_id(5398)
|
||||||
@marks.high
|
@marks.high
|
||||||
|
@marks.skip
|
||||||
def test_wallet_modal_public_chat(self):
|
def test_wallet_modal_public_chat(self):
|
||||||
user = wallet_users['A']
|
user = wallet_users['A']
|
||||||
sign_in = SignInView(self.driver)
|
sign_in = SignInView(self.driver)
|
||||||
@ -39,6 +40,7 @@ class TestWalletModal(SingleDeviceTestCase):
|
|||||||
|
|
||||||
@marks.testrail_id(5399)
|
@marks.testrail_id(5399)
|
||||||
@marks.high
|
@marks.high
|
||||||
|
@marks.skip
|
||||||
def test_wallet_modal_dapp(self):
|
def test_wallet_modal_dapp(self):
|
||||||
user = wallet_users['B']
|
user = wallet_users['B']
|
||||||
sign_in = SignInView(self.driver)
|
sign_in = SignInView(self.driver)
|
||||||
@ -70,6 +72,7 @@ class TestWalletModal(SingleDeviceTestCase):
|
|||||||
|
|
||||||
@marks.testrail_id(5692)
|
@marks.testrail_id(5692)
|
||||||
@marks.high
|
@marks.high
|
||||||
|
@marks.skip
|
||||||
def test_wallet_modal_1_1_chat(self):
|
def test_wallet_modal_1_1_chat(self):
|
||||||
user = wallet_users['C']
|
user = wallet_users['C']
|
||||||
recipient_address = basic_user['public_key']
|
recipient_address = basic_user['public_key']
|
||||||
@ -99,6 +102,7 @@ class TestWalletModal(SingleDeviceTestCase):
|
|||||||
|
|
||||||
@marks.testrail_id(5693)
|
@marks.testrail_id(5693)
|
||||||
@marks.high
|
@marks.high
|
||||||
|
@marks.skip
|
||||||
def test_wallet_modal_group_chat(self):
|
def test_wallet_modal_group_chat(self):
|
||||||
user = wallet_users['D']
|
user = wallet_users['D']
|
||||||
recipient_address = basic_user['public_key']
|
recipient_address = basic_user['public_key']
|
||||||
@ -131,6 +135,7 @@ class TestWalletModal(SingleDeviceTestCase):
|
|||||||
|
|
||||||
@marks.testrail_id(5400)
|
@marks.testrail_id(5400)
|
||||||
@marks.high
|
@marks.high
|
||||||
|
@marks.skip
|
||||||
def test_wallet_modal_transaction_history(self):
|
def test_wallet_modal_transaction_history(self):
|
||||||
user = wallet_users['B']
|
user = wallet_users['B']
|
||||||
sign_in = SignInView(self.driver)
|
sign_in = SignInView(self.driver)
|
||||||
@ -148,6 +153,7 @@ class TestWalletModal(SingleDeviceTestCase):
|
|||||||
|
|
||||||
@marks.testrail_id(5480)
|
@marks.testrail_id(5480)
|
||||||
@marks.low
|
@marks.low
|
||||||
|
@marks.skip
|
||||||
def test_close_and_open_wallet_modal(self):
|
def test_close_and_open_wallet_modal(self):
|
||||||
user = wallet_users['B']
|
user = wallet_users['B']
|
||||||
sign_in = SignInView(self.driver)
|
sign_in = SignInView(self.driver)
|
||||||
@ -175,6 +181,7 @@ class TestWalletModal(SingleDeviceTestCase):
|
|||||||
|
|
||||||
@marks.testrail_id(5484)
|
@marks.testrail_id(5484)
|
||||||
@marks.low
|
@marks.low
|
||||||
|
@marks.skip
|
||||||
def test_close_wallet_modal_via_closs_icon(self):
|
def test_close_wallet_modal_via_closs_icon(self):
|
||||||
sign_in_view = SignInView(self.driver)
|
sign_in_view = SignInView(self.driver)
|
||||||
home = sign_in_view.create_user()
|
home = sign_in_view.create_user()
|
||||||
@ -190,6 +197,7 @@ class TestWalletModal(SingleDeviceTestCase):
|
|||||||
|
|
||||||
@marks.testrail_id(5483)
|
@marks.testrail_id(5483)
|
||||||
@marks.low
|
@marks.low
|
||||||
|
@marks.skip
|
||||||
def test_close_wallet_modal_via_device_back_button(self):
|
def test_close_wallet_modal_via_device_back_button(self):
|
||||||
sign_in_view = SignInView(self.driver)
|
sign_in_view = SignInView(self.driver)
|
||||||
home = sign_in_view.create_user()
|
home = sign_in_view.create_user()
|
||||||
@ -212,6 +220,7 @@ class TestWalletModal(SingleDeviceTestCase):
|
|||||||
|
|
||||||
@marks.testrail_id(5482)
|
@marks.testrail_id(5482)
|
||||||
@marks.low
|
@marks.low
|
||||||
|
@marks.skip
|
||||||
def test_switch_between_main_and_history_in_wallet_modal(self):
|
def test_switch_between_main_and_history_in_wallet_modal(self):
|
||||||
sign_in_view = SignInView(self.driver)
|
sign_in_view = SignInView(self.driver)
|
||||||
home = sign_in_view.create_user()
|
home = sign_in_view.create_user()
|
||||||
|
@ -366,12 +366,23 @@ class MailServerAddressInput(BaseEditBox):
|
|||||||
self.locator = self.Locator.xpath_selector("//android.widget.EditText[@text='Specify a mailserver address']")
|
self.locator = self.Locator.xpath_selector("//android.widget.EditText[@text='Specify a mailserver address']")
|
||||||
|
|
||||||
|
|
||||||
|
class MailServerAutoSelectionButton(BaseButton):
|
||||||
|
def __init__(self, driver):
|
||||||
|
super(MailServerAutoSelectionButton, self).__init__(driver)
|
||||||
|
self.locator = self.Locator.xpath_selector("//*[contains(@text,'Automatic selection')]")
|
||||||
|
|
||||||
|
|
||||||
class MailServerElement(BaseButton):
|
class MailServerElement(BaseButton):
|
||||||
|
|
||||||
def __init__(self, driver, server_name):
|
def __init__(self, driver, server_name):
|
||||||
super(MailServerElement, self).__init__(driver)
|
super(MailServerElement, self).__init__(driver)
|
||||||
|
self.server_name = server_name
|
||||||
self.locator = self.Locator.xpath_selector("//*[@content-desc='mailserver-item']//*[@text='%s']" % server_name)
|
self.locator = self.Locator.xpath_selector("//*[@content-desc='mailserver-item']//*[@text='%s']" % server_name)
|
||||||
|
|
||||||
|
def click(self):
|
||||||
|
self.scroll_to_element().click()
|
||||||
|
self.driver.info('Tap on "%s" mailserver value' % self.server_name)
|
||||||
|
|
||||||
|
|
||||||
class MailServerConnectButton(BaseButton):
|
class MailServerConnectButton(BaseButton):
|
||||||
|
|
||||||
@ -471,6 +482,7 @@ class ProfileView(BaseView):
|
|||||||
self.mail_server_button = MailServerButton(self.driver)
|
self.mail_server_button = MailServerButton(self.driver)
|
||||||
self.mail_server_address_input = MailServerAddressInput(self.driver)
|
self.mail_server_address_input = MailServerAddressInput(self.driver)
|
||||||
self.mail_server_connect_button = MailServerConnectButton(self.driver)
|
self.mail_server_connect_button = MailServerConnectButton(self.driver)
|
||||||
|
self.mail_server_auto_selection_button = MailServerAutoSelectionButton(self.driver)
|
||||||
|
|
||||||
def switch_network(self, network):
|
def switch_network(self, network):
|
||||||
self.advanced_button.click()
|
self.advanced_button.click()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user