chore: remove data usage for syncing test as we actually dont need it there and it was not working anyway
This commit is contained in:
parent
2a7d76bc78
commit
33251f2bfe
|
@ -24,7 +24,7 @@ group_chat_user_3 = UserAccount('group_chat_user_3', '29T\I8Cv_G', [
|
||||||
'bless', 'enter', 'wet', 'foot', 'lazy', 'will', 'reform', 'enemy', 'rubber', 'void', 'journey', 'fence'
|
'bless', 'enter', 'wet', 'foot', 'lazy', 'will', 'reform', 'enemy', 'rubber', 'void', 'journey', 'fence'
|
||||||
], '0x4b04b8e22e8295d0ae3177774e4acfd0badacf09')
|
], '0x4b04b8e22e8295d0ae3177774e4acfd0badacf09')
|
||||||
|
|
||||||
# user names and passwords for join community test
|
# usernames and passwords for join community test
|
||||||
community_user_1 = UserAccount('community_user_1', '|Br2w547YN', [
|
community_user_1 = UserAccount('community_user_1', '|Br2w547YN', [
|
||||||
'skirt', 'tired', 'finger', 'dinosaur', 'equal', 'garlic', 'snap', 'tired', 'friend', 'rack', 'net', 'imitate'
|
'skirt', 'tired', 'finger', 'dinosaur', 'equal', 'garlic', 'snap', 'tired', 'friend', 'rack', 'net', 'imitate'
|
||||||
], '0x21371358f1ba09204475e87444962ea4519771e1')
|
], '0x21371358f1ba09204475e87444962ea4519771e1')
|
||||||
|
@ -32,6 +32,9 @@ community_user_2 = UserAccount('community_user_2', 'vSq5T702_p', [
|
||||||
'will', 'horn', 'tail', 'stock', 'puzzle', 'warfare', 'pledge', 'uniform', 'ozone', 'taste', 'someone', 'silk'
|
'will', 'horn', 'tail', 'stock', 'puzzle', 'warfare', 'pledge', 'uniform', 'ozone', 'taste', 'someone', 'silk'
|
||||||
], '0x935034600f2ba486324cee6ae3f96ad8c8915ac6')
|
], '0x935034600f2ba486324cee6ae3f96ad8c8915ac6')
|
||||||
|
|
||||||
|
user_for_syncing = UserAccount(''.join((random.choices(string.ascii_letters +
|
||||||
|
string.digits, k=24))), '1vTC2,4R1=', [], '')
|
||||||
|
|
||||||
user_account_one_changed_password = UserAccount('squisher', 'NewPassword@12345', [], '')
|
user_account_one_changed_password = UserAccount('squisher', 'NewPassword@12345', [], '')
|
||||||
user_account_one_changed_name = UserAccount('NewUserName', '0000000000', [], '')
|
user_account_one_changed_name = UserAccount('NewUserName', '0000000000', [], '')
|
||||||
|
|
||||||
|
|
|
@ -658,7 +658,7 @@ mainWindow_SyncCodeView = {"container": statusDesktop_mainWindow, "type": "SyncC
|
||||||
mainWindow_switchTabBar_StatusSwitchTabBar_2 = {"container": statusDesktop_mainWindow, "id": "switchTabBar", "type": "StatusSwitchTabBar", "unnamed": 1, "visible": True}
|
mainWindow_switchTabBar_StatusSwitchTabBar_2 = {"container": statusDesktop_mainWindow, "id": "switchTabBar", "type": "StatusSwitchTabBar", "unnamed": 1, "visible": True}
|
||||||
switchTabBar_Enter_sync_code_StatusSwitchTabButton = {"checkable": True, "container": mainWindow_switchTabBar_StatusSwitchTabBar_2, "text": "Enter sync code", "type": "StatusSwitchTabButton", "unnamed": 1, "visible": True}
|
switchTabBar_Enter_sync_code_StatusSwitchTabButton = {"checkable": True, "container": mainWindow_switchTabBar_StatusSwitchTabBar_2, "text": "Enter sync code", "type": "StatusSwitchTabButton", "unnamed": 1, "visible": True}
|
||||||
mainWindow_statusBaseInput_StatusBaseInput = {"container": statusDesktop_mainWindow, "id": "statusBaseInput", "type": "StatusBaseInput", "unnamed": 1, "visible": True}
|
mainWindow_statusBaseInput_StatusBaseInput = {"container": statusDesktop_mainWindow, "id": "statusBaseInput", "type": "StatusBaseInput", "unnamed": 1, "visible": True}
|
||||||
mainWindow_Paste_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "text": "Paste", "type": "StatusButton", "unnamed": 1, "visible": True}
|
mainWindow_Paste_StatusButton = {"container": statusDesktop_mainWindow, "text": "Paste", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||||
mainWindow_syncingEnterCode_SyncingEnterCode = {"container": mainWindow_StatusWindow, "objectName": "syncingEnterCode", "type": "SyncingEnterCode", "visible": True}
|
mainWindow_syncingEnterCode_SyncingEnterCode = {"container": mainWindow_StatusWindow, "objectName": "syncingEnterCode", "type": "SyncingEnterCode", "visible": True}
|
||||||
|
|
||||||
# SyncDevice View
|
# SyncDevice View
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
[General]
|
||||||
|
attachableAUT/AUT_104340 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_104343 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_104634 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_104637 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_105214 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_105217 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_105602 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_105626 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_105629 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_110439 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_110442 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_110643 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_110645 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_110857 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_110900 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_113054 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_113057 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_115533 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_115537 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_115751 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_115754 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_120008 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_120010 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_120443 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_120446 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_120737 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_120740 = "localhost:61600"
|
||||||
|
attachableAUT/AUT_121630 = "localhost:61500"
|
||||||
|
attachableAUT/AUT_121634 = "localhost:61600"
|
||||||
|
|
|
@ -11,7 +11,6 @@ import constants
|
||||||
import driver
|
import driver
|
||||||
from constants import UserAccount
|
from constants import UserAccount
|
||||||
from constants.syncing import SyncingSettings
|
from constants.syncing import SyncingSettings
|
||||||
from gui.components.community.authenticate_popup import AuthenticatePopup
|
|
||||||
from gui.components.onboarding.before_started_popup import BeforeStartedPopUp
|
from gui.components.onboarding.before_started_popup import BeforeStartedPopUp
|
||||||
from gui.components.onboarding.beta_consent_popup import BetaConsentPopup
|
from gui.components.onboarding.beta_consent_popup import BetaConsentPopup
|
||||||
from gui.components.settings.sync_new_device_popup import SyncNewDevicePopup
|
from gui.components.settings.sync_new_device_popup import SyncNewDevicePopup
|
||||||
|
@ -35,13 +34,12 @@ def sync_screen(main_window) -> SyncCodeView:
|
||||||
|
|
||||||
@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.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'user_account_one'])
|
|
||||||
@pytest.mark.critical
|
@pytest.mark.critical
|
||||||
def test_sync_device_during_onboarding(multiple_instances, user_data):
|
def test_sync_device_during_onboarding(multiple_instances):
|
||||||
user: UserAccount = constants.user_account_one
|
user: UserAccount = constants.user_for_syncing
|
||||||
main_window = MainWindow()
|
main_window = MainWindow()
|
||||||
|
|
||||||
with (multiple_instances() as aut_one, multiple_instances() as aut_two):
|
with multiple_instances(user_data=None) as aut_one, multiple_instances(user_data=None) as aut_two:
|
||||||
with step('Get syncing code in first instance'):
|
with step('Get syncing code in first instance'):
|
||||||
aut_one.attach()
|
aut_one.attach()
|
||||||
main_window.prepare()
|
main_window.prepare()
|
||||||
|
|
Loading…
Reference in New Issue