chore: fix sync devices test and enable it back in PRs

This commit is contained in:
Anastasiya Semenkevich 2024-09-23 13:03:29 +03:00 committed by Anastasiya
parent f6b566b4dd
commit 84d2e830ea
1 changed files with 2 additions and 3 deletions

View File

@ -21,8 +21,7 @@ pytestmark = marks
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703592', 'Sync device during onboarding') @allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703592', 'Sync device during onboarding')
@pytest.mark.case(703592) @pytest.mark.case(703592)
@pytest.mark.skip() @pytest.mark.critical
# @pytest.mark.critical TODO: figure out why it fails
def test_sync_device_during_onboarding(multiple_instances): def test_sync_device_during_onboarding(multiple_instances):
user: UserAccount = RandomUser() user: UserAccount = RandomUser()
main_window = MainWindow() main_window = MainWindow()
@ -46,7 +45,7 @@ def test_sync_device_during_onboarding(multiple_instances):
with step('Verify syncing code is correct'): with step('Verify syncing code is correct'):
sync_code_fields = sync_code.split(':') sync_code_fields = sync_code.split(':')
assert sync_code_fields[0] == 'cs3' assert sync_code_fields[0] == 'cs3'
assert len(sync_code_fields) == 5 assert len(sync_code_fields) == 7
with step('Open sync code form in second instance'): with step('Open sync code form in second instance'):
aut_two.attach() aut_two.attach()