chore(@e2e_tests): fix background for wallet suite

This commit is contained in:
Anastasiya Semiankevich 2023-06-06 17:15:28 +03:00 committed by Anastasiya Semenkevich
parent 3227d5afb4
commit 00aa1b3391
3 changed files with 9 additions and 10 deletions

View File

@ -5,8 +5,6 @@ from screens.StatusWalletScreen import VALUE_YES
from screens.components.authenticate_popup import AuthenticatePopup
from scripts.decorators import verify_screenshot
import walletInitSteps as wallet_init_steps
_statusMain = StatusMainScreen()
_walletScreen = StatusWalletScreen()
@ -26,7 +24,7 @@ def step(context):
@When("the user opens wallet section")
def step(context):
wallet_init_steps.the_user_opens_wallet_screen()
walletInitSteps.the_user_opens_wallet_screen()
@When("the user clicks on the default wallet account")
def step(context):

View File

@ -3,12 +3,12 @@ Feature: Status Desktop Wallet
As a user I want to use the wallet
The feature start sequence is the following (setup on its own `bdd_hooks`):
** given A first time user lands on the status desktop and generates new key
** when user signs up with username "tester123" and password "TesTEr16843/!@00"
** and the user lands on the signed in app
** and the user opens the wallet section
** and the user accepts the signing phrase
Background:
Given A first time user lands on the status desktop and generates new key
And the user signs up with username "tester123" and password "TesTEr16843/!@00"
And the user lands on the signed in app
And the user opens the wallet section
And the user accepts the signing phrase
#############################################
# WALLET SECTION PART

View File

@ -1,7 +1,8 @@
source(findFile('scripts', 'python/bdd.py'))
setupHooks('../../global_shared/scripts/bdd_hooks.py')
collectStepDefinitions('./steps', '../shared/steps/', '../../global_shared/steps/','../../suite_onboarding/shared/steps/')
collectStepDefinitions('./steps', '../shared/steps/', '../../global_shared/steps/',
'../../suite_onboarding/shared/steps/', '../../suite_wallet/steps/')
import configs