test(@wallet): fix test on CI
This commit is contained in:
parent
44ed858363
commit
1b6fc3b266
|
@ -68,6 +68,7 @@ pipeline {
|
||||||
$class: 'Xvfb',
|
$class: 'Xvfb',
|
||||||
autoDisplayName: true,
|
autoDisplayName: true,
|
||||||
parallelBuild: true,
|
parallelBuild: true,
|
||||||
|
screen: '2560x1440x24',
|
||||||
]) {
|
]) {
|
||||||
script {
|
script {
|
||||||
def res = squish([
|
def res = squish([
|
||||||
|
|
|
@ -52,7 +52,6 @@ class AddAccountPopup(Enum):
|
||||||
ADD_ACCOUNT_BUTTON: str = "mainWallet_Add_Account_Popup_Footer_Add_Account"
|
ADD_ACCOUNT_BUTTON: str = "mainWallet_Add_Account_Popup_Footer_Add_Account"
|
||||||
SEED_PHRASE_INPUT_TEMPLATE: str = "mainWindow_Add_Account_Popup_Seed_Phrase_"
|
SEED_PHRASE_INPUT_TEMPLATE: str = "mainWindow_Add_Account_Popup_Seed_Phrase_"
|
||||||
|
|
||||||
|
|
||||||
class StatusWalletScreen:
|
class StatusWalletScreen:
|
||||||
|
|
||||||
def accept_signing_phrase(self):
|
def accept_signing_phrase(self):
|
||||||
|
@ -90,7 +89,7 @@ class StatusWalletScreen:
|
||||||
|
|
||||||
type(AddAccountPopup.PASSWORD_INPUT.value, password)
|
type(AddAccountPopup.PASSWORD_INPUT.value, password)
|
||||||
type(AddAccountPopup.ACCOUNT_NAME_INPUT.value, account_name)
|
type(AddAccountPopup.ACCOUNT_NAME_INPUT.value, account_name)
|
||||||
|
|
||||||
click_obj_by_name(AddAccountPopup.ADVANCE_SECTION.value)
|
click_obj_by_name(AddAccountPopup.ADVANCE_SECTION.value)
|
||||||
click_obj_by_name(AddAccountPopup.TYPE_SELECTOR.value)
|
click_obj_by_name(AddAccountPopup.TYPE_SELECTOR.value)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
|
@ -10,14 +10,14 @@ Feature: Status Desktop Wallet
|
||||||
When the user activates wallet and opens the wallet section
|
When the user activates wallet and opens the wallet section
|
||||||
When the user accepts the signing phrase
|
When the user accepts the signing phrase
|
||||||
|
|
||||||
# Scenario Outline: User adds a watch only account
|
Scenario Outline: User adds a watch only account
|
||||||
# When the user adds watch only account with <account_name> and <address>
|
When the user adds watch only account with <account_name> and <address>
|
||||||
# Then the new account <account_name> is added
|
Then the new account <account_name> is added
|
||||||
#
|
|
||||||
# Examples:
|
Examples:
|
||||||
# | account_name | address |
|
| account_name | address |
|
||||||
# | one | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
|
| one | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
|
||||||
# | two | 0xf51ba8631618b9b3521ff4eb9adfd8a837455226 |
|
| two | 0xf51ba8631618b9b3521ff4eb9adfd8a837455226 |
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: User generates a new account from wallet
|
Scenario Outline: User generates a new account from wallet
|
||||||
|
@ -29,21 +29,21 @@ Feature: Status Desktop Wallet
|
||||||
| one |
|
| one |
|
||||||
| two |
|
| two |
|
||||||
|
|
||||||
# Scenario Outline: User imports a private key
|
Scenario Outline: User imports a private key
|
||||||
# When the user imports a private key with <account_name> and TesTEr16843/!@00 and <private_key>
|
When the user imports a private key with <account_name> and TesTEr16843/!@00 and <private_key>
|
||||||
# Then the new account <account_name> is added
|
Then the new account <account_name> is added
|
||||||
#
|
|
||||||
# Examples:
|
|
||||||
# | account_name | private_key |
|
|
||||||
# | one | 8da4ef21b864d2cc526dbdb2a120bd2874c36c9d0a1fb7f8c63d7f7a8b41de8f |
|
|
||||||
|
|
||||||
# Scenario Outline: User imports a seed phrase
|
Examples:
|
||||||
# When the user imports a seed phrase with <account_name> and TesTEr16843/!@00 and <seed_phrase>
|
| account_name | private_key |
|
||||||
# Then the new account <account_name> is added
|
| one | 8da4ef21b864d2cc526dbdb2a120bd2874c36c9d0a1fb7f8c63d7f7a8b41de8f |
|
||||||
#
|
|
||||||
# Examples:
|
Scenario Outline: User imports a seed phrase
|
||||||
# | account_name | seed_phrase |
|
When the user imports a seed phrase with <account_name> and TesTEr16843/!@00 and <seed_phrase>
|
||||||
# | one | indoor dish desk flag debris potato excuse depart ticket judge file exit |
|
Then the new account <account_name> is added
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
| account_name | seed_phrase |
|
||||||
|
| one | indoor dish desk flag debris potato excuse depart ticket judge file exit |
|
||||||
|
|
||||||
Scenario Outline: User deletes a generated account
|
Scenario Outline: User deletes a generated account
|
||||||
When the user generates a new account with <account_name> and TesTEr16843/!@00
|
When the user generates a new account with <account_name> and TesTEr16843/!@00
|
||||||
|
@ -54,28 +54,28 @@ Feature: Status Desktop Wallet
|
||||||
| account_name |
|
| account_name |
|
||||||
| one |
|
| one |
|
||||||
|
|
||||||
# Scenario Outline: User adds a saved address
|
# Scenario Outline: User adds a saved address
|
||||||
# When the user adds a saved address named <name> and address <address>
|
# When the user adds a saved address named <name> and address <address>
|
||||||
# Then the name <name> is in the list of saved addresses
|
# Then the name <name> is in the list of saved addresses
|
||||||
#
|
|
||||||
# Examples:
|
# Examples:
|
||||||
# | name | address |
|
# | name | address |
|
||||||
# | one | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
|
# | one | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
|
||||||
#
|
|
||||||
# Scenario Outline: User can edit a saved address
|
# Scenario Outline: User can edit a saved address
|
||||||
# When the user adds a saved address named <name> and address <address>
|
# When the user adds a saved address named <name> and address <address>
|
||||||
# And the user edits a saved address with name <name> to <new_name>
|
# And the user edits a saved address with name <name> to <new_name>
|
||||||
# Then the name <new_name><name> is in the list of saved addresses
|
# Then the name <new_name><name> is in the list of saved addresses
|
||||||
#
|
|
||||||
# Examples:
|
# Examples:
|
||||||
# | name | address | new_name |
|
# | name | address | new_name |
|
||||||
# | bar | 0x8397bc3c5a60a1883174f722403d63a8833312b7 | foo |
|
# | bar | 0x8397bc3c5a60a1883174f722403d63a8833312b7 | foo |
|
||||||
#
|
|
||||||
# Scenario Outline: User can delete a saved address
|
# Scenario Outline: User can delete a saved address
|
||||||
# When the user adds a saved address named <name> and address <address>
|
# When the user adds a saved address named <name> and address <address>
|
||||||
# And the user deletes the saved address with name <name>
|
# And the user deletes the saved address with name <name>
|
||||||
# Then the name <name> is not in the list of saved addresses
|
# Then the name <name> is not in the list of saved addresses
|
||||||
#
|
|
||||||
# Examples:
|
# Examples:
|
||||||
# | name | address |
|
# | name | address |
|
||||||
# | one | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
|
# | one | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
|
Loading…
Reference in New Issue