This commit is contained in:
Churikova Tetiana 2022-04-26 16:58:10 +02:00
parent c3a7dd0023
commit ceb5a14ef6
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
7 changed files with 11 additions and 14 deletions

View File

@ -114,6 +114,7 @@ class TestrailReport(BaseTestReport):
test_cases['pr']['1_1_chat_commands'] = 50825
test_cases['pr']['ens'] = 50827
test_cases['pr']['sync'] = 50834
test_cases['pr']['browser'] = 50812
## Nightly e2e
test_cases['nightly']['medium'] = 736
test_cases['nightly']['chat'] = 50811

View File

@ -293,8 +293,6 @@ def pytest_runtest_protocol(item, nextitem):
reports = runtestprotocol(item, nextitem=nextitem)
for report in reports:
if report.failed and should_rerun_test(report.longreprtext):
# is_in_group = [i for i in item.iter_markers(name='xdist_group')]
# if report.failed and should_rerun_test(report.longreprtext):
break # rerun
else:
return True # no need to rerun

View File

@ -222,7 +222,7 @@ class TestPublicChatMultipleDeviceMerged(MultipleSharedDeviceTestCase):
self.errors.verify_no_errors()
@pytest.mark.xdist_group(name="two_1")
@pytest.mark.xdist_group(name="three_1")
@marks.critical
class TestPublicChatBrowserOneDeviceMerged(MultipleSharedDeviceTestCase):

View File

@ -252,7 +252,6 @@ class TestWalletManagementDeviceMerged(MultipleSharedDeviceTestCase):
self.errors.verify_no_errors()
@marks.testrail_id(700762)
@marks.skip
# TODO: skipped due to #13016
def test_wallet_add_account_seed_phrase_collectibles_mainnet_rinkeby(self):
user = wallet_users['E']
@ -283,12 +282,12 @@ class TestWalletManagementDeviceMerged(MultipleSharedDeviceTestCase):
if not account_button.is_element_displayed():
self.wallet.accounts_status_account.swipe_left_on_element()
self.home.just_fyi('Check that collectibles are not shown on Ropsten')
account_button.click()
self.wallet.collectibles_button.click()
self.wallet.element_by_translation_id("display-collectibles").scroll_and_click()
if not self.wallet.element_by_translation_id("no-collectibles").is_element_displayed():
self.errors.append("Collectibles are shown on Ropsten network!")
# self.home.just_fyi('Check that collectibles are not shown on Ropsten')
# account_button.click()
# self.wallet.collectibles_button.click()
# self.wallet.element_by_translation_id("display-collectibles").scroll_and_click()
# if not self.wallet.element_by_translation_id("no-collectibles").is_element_displayed():
# self.errors.append("Collectibles are shown on Ropsten network!")
self.wallet.just_fyi('Check collectibles amount in wallet')
profile = self.home.profile_button.click()

View File

@ -8,7 +8,7 @@ from tests.base_test_case import create_shared_drivers, MultipleSharedDeviceTest
from views.sign_in_view import SignInView
@pytest.mark.xdist_group(name="public_chat_medium_2")
@pytest.mark.xdist_group(name="one_2")
@marks.medium
class TestPublicChatMultipleDeviceMergedMedium(MultipleSharedDeviceTestCase):
@classmethod
@ -133,7 +133,7 @@ class TestPublicChatMultipleDeviceMergedMedium(MultipleSharedDeviceTestCase):
self.errors.verify_no_errors()
@pytest.mark.xdist_group(name="chat_medium_2")
@pytest.mark.xdist_group(name="two_2")
@marks.medium
class TestChatMultipleDevice(MultipleSharedDeviceTestCase):

View File

@ -6,7 +6,7 @@ from views.sign_in_view import SignInView
from tests.users import basic_user, ens_user, ens_user_ropsten, transaction_senders, chat_users
@pytest.mark.xdist_group(name="browser_profile_medium_1")
@pytest.mark.xdist_group(name="two_1")
@marks.medium
class TestBrowserProfileOneDevice(MultipleSharedDeviceTestCase):

View File

@ -1231,7 +1231,6 @@ class TestChatManagementMultipleDevice(MultipleDeviceTestCase):
self.errors.verify_no_errors()
@marks.testrail_id(5432)
@marks.medium
# TODO: can be united with other 2-driver profile e2e
def test_profile_custom_bootnodes(self):
self.create_drivers(2)