Unstable tests skipped (#10861)
This commit is contained in:
parent
b565b56aff
commit
be1b30f2df
|
@ -420,7 +420,7 @@ class StatusWalletScreen:
|
||||||
started_at = time.monotonic()
|
started_at = time.monotonic()
|
||||||
while not expected_account in self.left_panel.accounts:
|
while not expected_account in self.left_panel.accounts:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
if time.monotonic() - started_at > 5:
|
if time.monotonic() - started_at > 10:
|
||||||
raise LookupError(f'Account {expected_account} not found in {self.left_panel.accounts}')
|
raise LookupError(f'Account {expected_account} not found in {self.left_panel.accounts}')
|
||||||
|
|
||||||
def verify_account_doesnt_exist(self, name: str):
|
def verify_account_doesnt_exist(self, name: str):
|
||||||
|
|
|
@ -118,6 +118,14 @@ class AccountPopup(BasePopup):
|
||||||
self._address_combobox_button = Button('mainWallet_AddEditAccountPopup_GeneratedAddressComponent')
|
self._address_combobox_button = Button('mainWallet_AddEditAccountPopup_GeneratedAddressComponent')
|
||||||
self._non_eth_checkbox = CheckBox('mainWallet_AddEditAccountPopup_NonEthDerivationPathCheckBox')
|
self._non_eth_checkbox = CheckBox('mainWallet_AddEditAccountPopup_NonEthDerivationPathCheckBox')
|
||||||
|
|
||||||
|
def wait_until_appears(self, timeout_msec: int = configs.squish.UI_LOAD_TIMEOUT_MSEC):
|
||||||
|
assert squish.waitFor(lambda: self._name_text_edit.is_visible, timeout_msec), f'Object {self} is not visible'
|
||||||
|
return self
|
||||||
|
|
||||||
|
def wait_until_hidden(self, timeout_msec: int = configs.squish.UI_LOAD_TIMEOUT_MSEC):
|
||||||
|
assert squish.waitFor(lambda: not self._name_text_edit.is_visible, timeout_msec), f'Object {self} is visible'
|
||||||
|
|
||||||
|
|
||||||
def set_name(self, value: str):
|
def set_name(self, value: str):
|
||||||
self._name_text_edit.text = value
|
self._name_text_edit.text = value
|
||||||
return self
|
return self
|
||||||
|
@ -186,10 +194,3 @@ class AccountPopup(BasePopup):
|
||||||
def save(self):
|
def save(self):
|
||||||
self._add_account_button.click()
|
self._add_account_button.click()
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def wait_until_appears(self, timeout_msec: int = configs.squish.UI_LOAD_TIMEOUT_MSEC):
|
|
||||||
assert squish.waitFor(lambda: self._name_text_edit.is_visible, timeout_msec), f'Object {self} is not visible'
|
|
||||||
return self
|
|
||||||
|
|
||||||
def wait_until_hidden(self, timeout_msec: int = configs.squish.UI_LOAD_TIMEOUT_MSEC):
|
|
||||||
assert squish.waitFor(lambda: not self._name_text_edit.is_visible, timeout_msec), f'Object {self} is visible'
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ mainWallet_AddEditAccountPopup_Content = {"container": statusDesktop_mainWindow,
|
||||||
mainWallet_AddEditAccountPopup_PrimaryButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-PrimaryButton", "type": "StatusButton", "visible": True}
|
mainWallet_AddEditAccountPopup_PrimaryButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-PrimaryButton", "type": "StatusButton", "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_BackButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-BackButton", "type": "StatusBackButton", "visible": True}
|
mainWallet_AddEditAccountPopup_BackButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-BackButton", "type": "StatusBackButton", "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_AccountNameComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-AccountName", "type": "StatusInput", "visible": True}
|
mainWallet_AddEditAccountPopup_AccountNameComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-AccountName", "type": "StatusInput", "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_AccountName = {"container": mainWallet_AddEditAccountPopup_AccountNameComponent, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True}
|
mainWallet_AddEditAccountPopup_AccountName = {"container": mainWallet_AddEditAccountPopup_AccountNameComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_AccountColorComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-AccountColor", "type": "StatusColorSelectorGrid", "visible": True}
|
mainWallet_AddEditAccountPopup_AccountColorComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-AccountColor", "type": "StatusColorSelectorGrid", "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_AccountColorSelector = {"container": mainWallet_AddEditAccountPopup_AccountColorComponent, "type": "Repeater", "objectName": "statusColorRepeater", "visible": True, "enabled": True}
|
mainWallet_AddEditAccountPopup_AccountColorSelector = {"container": mainWallet_AddEditAccountPopup_AccountColorComponent, "type": "Repeater", "objectName": "statusColorRepeater", "visible": True, "enabled": True}
|
||||||
mainWallet_AddEditAccountPopup_AccountEmojiPopupButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-AccountEmoji", "type": "StatusFlatRoundButton", "visible": True}
|
mainWallet_AddEditAccountPopup_AccountEmojiPopupButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-AccountEmoji", "type": "StatusFlatRoundButton", "visible": True}
|
||||||
|
@ -93,7 +93,7 @@ mainWallet_AddEditAccountPopup_AccountWatchOnlyAddress = {"container": mainWalle
|
||||||
mainWallet_AddEditAccountPopup_EditDerivationPathButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-EditDerivationPath", "type": "StatusButton", "visible": True}
|
mainWallet_AddEditAccountPopup_EditDerivationPathButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-EditDerivationPath", "type": "StatusButton", "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_ResetDerivationPathButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-ResetDerivationPath", "type": "StatusLinkText", "enabled": True, "visible": True}
|
mainWallet_AddEditAccountPopup_ResetDerivationPathButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-ResetDerivationPath", "type": "StatusLinkText", "enabled": True, "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_DerivationPathInputComponent = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-DerivationPathInput", "type": "DerivationPathInput", "visible": True}
|
mainWallet_AddEditAccountPopup_DerivationPathInputComponent = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-DerivationPathInput", "type": "DerivationPathInput", "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_DerivationPathInput = {"container": mainWallet_AddEditAccountPopup_DerivationPathInputComponent, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True}
|
mainWallet_AddEditAccountPopup_DerivationPathInput = {"container": mainWallet_AddEditAccountPopup_DerivationPathInputComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_PreDefinedDerivationPathsButton = {"container": mainWallet_AddEditAccountPopup_DerivationPathInputComponent, "objectName": "chevron-down-icon", "type": "StatusIcon", "visible": True}
|
mainWallet_AddEditAccountPopup_PreDefinedDerivationPathsButton = {"container": mainWallet_AddEditAccountPopup_DerivationPathInputComponent, "objectName": "chevron-down-icon", "type": "StatusIcon", "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_PreDefinedPathsOptionTestnetRopsten = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-PreDefinedDerivationPath-Ethereum Testnet (Ropsten)", "type": "StatusListItem", "visible": True}
|
mainWallet_AddEditAccountPopup_PreDefinedPathsOptionTestnetRopsten = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-PreDefinedDerivationPath-Ethereum Testnet (Ropsten)", "type": "StatusListItem", "visible": True}
|
||||||
mainWallet_AddEditAccountPopup_GeneratedAddressComponent = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-GeneratedAddress", "type": "StatusListItem", "visible": True}
|
mainWallet_AddEditAccountPopup_GeneratedAddressComponent = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-GeneratedAddress", "type": "StatusListItem", "visible": True}
|
||||||
|
|
|
@ -167,6 +167,7 @@ Feature: Status Desktop community messages
|
||||||
When the user sends the sticker at position 2 in the list
|
When the user sends the sticker at position 2 in the list
|
||||||
Then the last chat message is a sticker
|
Then the last chat message is a sticker
|
||||||
|
|
||||||
|
@mayfail
|
||||||
Scenario: The user marks a channel as read
|
Scenario: The user marks a channel as read
|
||||||
When the user marks the channel "general" as read
|
When the user marks the channel "general" as read
|
||||||
# TODO find a way to validate that it worked
|
# TODO find a way to validate that it worked
|
||||||
|
|
|
@ -9,6 +9,7 @@ Feature: User Identity
|
||||||
And the user signs up with username "tester123" and password "TesTEr16843/!@00"
|
And the user signs up with username "tester123" and password "TesTEr16843/!@00"
|
||||||
And the user lands on the signed in app
|
And the user lands on the signed in app
|
||||||
|
|
||||||
|
@mayfail
|
||||||
Scenario Outline: The user sets display name, bio and social links
|
Scenario Outline: The user sets display name, bio and social links
|
||||||
Given the user opens app settings screen
|
Given the user opens app settings screen
|
||||||
And the user opens the profile settings
|
And the user opens the profile settings
|
||||||
|
|
|
@ -62,7 +62,7 @@ Feature: Status Desktop Wallet Section Wallet Account Management
|
||||||
| name | color | emoji | emoji_unicode | add_via_context_menu |
|
| name | color | emoji | emoji_unicode | add_via_context_menu |
|
||||||
| GenAcc1 | 2946C4 | sunglasses | 1f60e | yes |
|
| GenAcc1 | 2946C4 | sunglasses | 1f60e | yes |
|
||||||
|
|
||||||
|
@mayfail
|
||||||
Scenario Outline: The user manages a custom generated account
|
Scenario Outline: The user manages a custom generated account
|
||||||
When the user adds a custom generated account with "<name>" color "#<color>" emoji "<emoji>" and derivation "<path>" "<address_index>"
|
When the user adds a custom generated account with "<name>" color "#<color>" emoji "<emoji>" and derivation "<path>" "<address_index>"
|
||||||
Then the account is correctly displayed with "<name>" and "#<color>" and emoji unicode "<emoji_unicode>" in accounts list
|
Then the account is correctly displayed with "<name>" and "#<color>" and emoji unicode "<emoji_unicode>" in accounts list
|
||||||
|
@ -90,7 +90,7 @@ Feature: Status Desktop Wallet Section Wallet Account Management
|
||||||
| private_key | name | color | emoji | emoji_unicode | new_name | new_color | new_emoji | new_emoji_unicode |
|
| private_key | name | color | emoji | emoji_unicode | new_name | new_color | new_emoji | new_emoji_unicode |
|
||||||
| 2daa36a3abe381a9c01610bf10fda272fbc1b8a22179a39f782c512346e3e470 | PrivKeyAcc1 | 2946C4 | sunglasses | 1f60e | PrivKeyAcc1edited | 7CDA00 | thumbsup | 1f44d |
|
| 2daa36a3abe381a9c01610bf10fda272fbc1b8a22179a39f782c512346e3e470 | PrivKeyAcc1 | 2946C4 | sunglasses | 1f60e | PrivKeyAcc1edited | 7CDA00 | thumbsup | 1f44d |
|
||||||
|
|
||||||
|
@mayfail
|
||||||
Scenario Outline: The user manages a seed phrase imported account
|
Scenario Outline: The user manages a seed phrase imported account
|
||||||
When the user adds an imported seed phrase account "<seed_phrase>" with "<name>" color "#<color>" and emoji "<emoji>"
|
When the user adds an imported seed phrase account "<seed_phrase>" with "<name>" color "#<color>" and emoji "<emoji>"
|
||||||
Then the account is correctly displayed with "<name>" and "#<color>" and emoji unicode "<emoji_unicode>" in accounts list
|
Then the account is correctly displayed with "<name>" and "#<color>" and emoji unicode "<emoji_unicode>" in accounts list
|
||||||
|
@ -105,7 +105,7 @@ Feature: Status Desktop Wallet Section Wallet Account Management
|
||||||
| kitten tiny cup admit cactus shrug shuffle accident century faith roof plastic beach police barely vacant sign blossom | SPAcc18 | 2946C4 | sunglasses | 1f60e | SPAcc18edited | 7CDA00 | thumbsup | 1f44d |
|
| kitten tiny cup admit cactus shrug shuffle accident century faith roof plastic beach police barely vacant sign blossom | SPAcc18 | 2946C4 | sunglasses | 1f60e | SPAcc18edited | 7CDA00 | thumbsup | 1f44d |
|
||||||
| pelican chief sudden oval media rare swamp elephant lawsuit wheat knife initial | SPAcc12 | 2946C4 | sunglasses | 1f60e | SPAcc12edited | 7CDA00 | thumbsup | 1f44d |
|
| pelican chief sudden oval media rare swamp elephant lawsuit wheat knife initial | SPAcc12 | 2946C4 | sunglasses | 1f60e | SPAcc12edited | 7CDA00 | thumbsup | 1f44d |
|
||||||
|
|
||||||
|
@mayfail
|
||||||
Scenario Outline: The user manages an account created from the imported seed phrase
|
Scenario Outline: The user manages an account created from the imported seed phrase
|
||||||
When the user adds an imported seed phrase account "pelican chief sudden oval media rare swamp elephant lawsuit wheat knife initial" with "SPAcc12" color "#2946C4" and emoji "sunglasses"
|
When the user adds an imported seed phrase account "pelican chief sudden oval media rare swamp elephant lawsuit wheat knife initial" with "SPAcc12" color "#2946C4" and emoji "sunglasses"
|
||||||
And the user adds to "pcsomrselw" a custom generated account with "<name>" color "#<color>" emoji "<emoji>" and derivation "<path>" "<address_index>"
|
And the user adds to "pcsomrselw" a custom generated account with "<name>" color "#<color>" emoji "<emoji>" and derivation "<path>" "<address_index>"
|
||||||
|
|
Loading…
Reference in New Issue