set up pytest marks for different sections of the app
This commit is contained in:
parent
8fe9b4731c
commit
b900ee72d6
|
@ -10,3 +10,15 @@ addopts = --disable-warnings -p no:logging
|
|||
markers =
|
||||
smoke: Smoke tests
|
||||
self: Framework self-tests
|
||||
critical: Critical checks for every PR
|
||||
settings_all: All tests related to the settings
|
||||
settings_keycard: Tests related to Keycard settings settings
|
||||
settings_messaging: Tests related to messaging settings
|
||||
settings_profile: Tests related to profile settings
|
||||
settings_wallet: Tests related to wallet settings
|
||||
messaging: All tests related to 1x1 chat and group chat functionality
|
||||
communities: All tests related to communities functionality
|
||||
onboarding: All tests related to onboarding
|
||||
keycard: All tests related to Keycard functionality
|
||||
wallet: All tests related to wallet functionality
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
import pytest
|
||||
|
||||
marks = pytest.mark.communities
|
|
@ -1,6 +1,7 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
from constants.community_settings import AirdropsElements
|
||||
|
@ -8,6 +9,7 @@ from constants.images_paths import AIRDROPS_WELCOME_IMAGE_PATH
|
|||
from gui.main_window import MainWindow
|
||||
from scripts.tools import image
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703200',
|
||||
'Manage community: Manage Airdrops screen overview')
|
||||
|
|
|
@ -3,11 +3,13 @@ from datetime import datetime
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs.testpath
|
||||
import constants
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703084', 'Create community')
|
||||
@pytest.mark.case(703084)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
import driver
|
||||
|
@ -8,6 +9,7 @@ from constants.community_settings import PermissionsElements
|
|||
from constants.images_paths import PERMISSION_WELCOME_IMAGE_PATH
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703198',
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
from constants.community_settings import TokensElements
|
||||
|
@ -8,6 +9,7 @@ from constants.images_paths import TOKENS_WELCOME_IMAGE_PATH
|
|||
from gui.main_window import MainWindow
|
||||
from scripts.tools import image
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703199',
|
||||
'Manage community: Manage Mint Tokens screen overview')
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
import pytest
|
||||
|
||||
marks = pytest.mark.messaging
|
|
@ -1,6 +1,7 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs.testpath
|
||||
import constants
|
||||
|
@ -9,6 +10,7 @@ from constants.messaging import Messaging
|
|||
from gui.main_window import MainWindow
|
||||
from gui.screens.messages import MessagesScreen
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703014', 'Create a group and send messages')
|
||||
@pytest.mark.case(703014)
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
import pytest
|
||||
|
||||
marks = pytest.mark.onboarding
|
|
@ -4,6 +4,7 @@ import os
|
|||
import allure
|
||||
import pytest
|
||||
from allure import step
|
||||
from . import marks
|
||||
|
||||
import configs.timeouts
|
||||
from gui.components.onboarding.before_started_popup import BeforeStartedPopUp
|
||||
|
@ -12,6 +13,7 @@ from gui.components.picture_edit_popup import shift_image
|
|||
from gui.components.splash_screen import SplashScreen
|
||||
from gui.screens.onboarding import AllowNotificationsView, WelcomeToStatusView, BiometricsView, KeysView
|
||||
|
||||
pytestmark = marks
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ import os
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs.system
|
||||
import constants
|
||||
|
@ -14,6 +15,7 @@ from gui.main_window import LeftPanel
|
|||
from gui.mocked_keycard_controller import MockedKeycardController
|
||||
from gui.screens.onboarding import BiometricsView, AllowNotificationsView, WelcomeToStatusView, KeysView
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@pytest.fixture
|
||||
def keys_screen(main_window) -> KeysView:
|
||||
|
|
|
@ -4,6 +4,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs.system
|
||||
import constants
|
||||
|
@ -15,6 +16,7 @@ from gui.components.onboarding.beta_consent_popup import BetaConsentPopup
|
|||
from gui.components.splash_screen import SplashScreen
|
||||
from gui.screens.onboarding import AllowNotificationsView, WelcomeToStatusView, KeysView, BiometricsView, LoginView
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@pytest.fixture
|
||||
def keys_screen(main_window) -> KeysView:
|
||||
|
|
|
@ -4,6 +4,7 @@ import allure
|
|||
import pyperclip
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs.testpath
|
||||
import constants
|
||||
|
@ -19,6 +20,7 @@ from gui.main_window import MainWindow
|
|||
from gui.screens.onboarding import AllowNotificationsView, WelcomeToStatusView, SyncResultView, \
|
||||
SyncCodeView, SyncDeviceFoundView
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@pytest.fixture
|
||||
def sync_screen(main_window) -> SyncCodeView:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs.system
|
||||
import constants
|
||||
|
@ -9,6 +10,7 @@ from constants.onboarding import very_weak_lower_elements, very_weak_upper_eleme
|
|||
from gui.components.onboarding.before_started_popup import BeforeStartedPopUp
|
||||
from gui.screens.onboarding import AllowNotificationsView, WelcomeToStatusView, KeysView
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@pytest.fixture
|
||||
def keys_screen(main_window) -> KeysView:
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
import pytest
|
||||
|
||||
marks = pytest.mark.settings_all
|
|
@ -0,0 +1,4 @@
|
|||
import pytest
|
||||
from .. import marks
|
||||
|
||||
marks = [pytest.mark.settings_keycard, marks]
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure import step
|
||||
from . import marks
|
||||
|
||||
import configs
|
||||
import constants
|
||||
|
@ -14,6 +15,7 @@ from constants.keycard import Keycard
|
|||
from gui.main_window import MainWindow
|
||||
from gui.mocked_keycard_controller import MockedKeycardController
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703627', 'Check whats on a Keycard')
|
||||
@pytest.mark.case(703627)
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure import step
|
||||
from . import marks
|
||||
|
||||
import configs
|
||||
import driver
|
||||
|
@ -12,6 +13,7 @@ from constants.keycard import Keycard
|
|||
from gui.main_window import MainWindow
|
||||
from gui.mocked_keycard_controller import MockedKeycardController
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703624',
|
||||
'Create a new keycard account with a new seed phrase')
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs
|
||||
import constants
|
||||
|
@ -11,6 +12,7 @@ from constants.keycard import Keycard
|
|||
from gui.main_window import MainWindow
|
||||
from gui.mocked_keycard_controller import MockedKeycardController
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703628', 'Factory reset a Keycard')
|
||||
@pytest.mark.case(703628)
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure import step
|
||||
from . import marks
|
||||
|
||||
import configs
|
||||
import constants
|
||||
|
@ -13,6 +14,7 @@ from constants.keycard import Keycard
|
|||
from gui.main_window import MainWindow
|
||||
from gui.mocked_keycard_controller import MockedKeycardController
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703625',
|
||||
'Import or restore a Keycard via a seed phrase')
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
from gui.components.signing_phrase_popup import SigningPhrasePopup
|
||||
from gui.main_window import MainWindow
|
||||
from gui.screens.settings_keycard import KeycardSettingsView
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703514',
|
||||
'Choosing Use Keycard when adding account')
|
||||
|
|
|
@ -4,6 +4,7 @@ from pathlib import Path
|
|||
import allure
|
||||
import pytest
|
||||
from allure import step
|
||||
from . import marks
|
||||
|
||||
import configs
|
||||
import constants
|
||||
|
@ -16,6 +17,7 @@ from gui.components.community.authenticate_popup import AuthenticatePopup
|
|||
from gui.main_window import MainWindow
|
||||
from gui.mocked_keycard_controller import MockedKeycardController
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703623',
|
||||
'Setup a keycard with an existing account')
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure import step
|
||||
from . import marks
|
||||
|
||||
import configs
|
||||
import constants
|
||||
|
@ -11,6 +12,7 @@ from constants.keycard import Keycard
|
|||
from gui.main_window import MainWindow
|
||||
from gui.mocked_keycard_controller import MockedKeycardController
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/704607', 'Unlock Keycard')
|
||||
@pytest.mark.case(704607)
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
import pytest
|
||||
from .. import marks
|
||||
|
||||
marks = [pytest.mark.settings_messaging, marks]
|
|
@ -1,6 +1,7 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs.testpath
|
||||
import constants
|
||||
|
@ -9,7 +10,7 @@ from constants.messaging import Messaging
|
|||
from gui.components.toast_message import ToastMessage
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703011', 'Add a contact with a chat key')
|
||||
@pytest.mark.case(703011)
|
||||
@pytest.mark.parametrize('user_data_one, user_data_two', [
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs.testpath
|
||||
import constants
|
||||
|
@ -10,7 +11,7 @@ from constants import UserAccount
|
|||
from constants.messaging import Messaging
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/704611', 'Reply to identity request')
|
||||
@pytest.mark.case(704611)
|
||||
@pytest.mark.parametrize('user_data_one, user_data_two', [
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
import pytest
|
||||
from .. import marks
|
||||
|
||||
marks = [pytest.mark.settings_profile, marks]
|
|
@ -1,11 +1,13 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
from driver.aut import AUT
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
pytestmark = marks
|
||||
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703005',
|
||||
'Change the password and login with new password')
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
from driver.aut import AUT
|
||||
from gui.components.settings.changes_detected_popup import ChangesDetectedToastMessage
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703006',
|
||||
'Set display name, bio and social links')
|
||||
@pytest.mark.case(703006)
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
import pytest
|
||||
from .. import marks
|
||||
|
||||
marks = [pytest.mark.settings_wallet, marks]
|
|
@ -1,6 +1,7 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs
|
||||
import driver
|
||||
|
@ -9,7 +10,7 @@ from gui.components.wallet.authenticate_popup import AuthenticatePopup
|
|||
from gui.main_window import MainWindow, LeftPanel
|
||||
from scripts.tools import image
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703415',
|
||||
'Account order: account order could be changed with drag&drop')
|
||||
@pytest.mark.case(703415)
|
||||
|
|
|
@ -4,6 +4,7 @@ import string
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
import driver
|
||||
|
@ -14,7 +15,7 @@ from gui.components.toast_message import ToastMessage
|
|||
from gui.main_window import MainWindow
|
||||
from gui.screens.settings_wallet import WalletSettingsView
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/704454',
|
||||
'Account view interactions: Delete generated account')
|
||||
@pytest.mark.case(704454)
|
||||
|
|
|
@ -4,12 +4,13 @@ import string
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
from constants.wallet import WalletNetworkSettings, DerivationPath, WalletAccountSettings
|
||||
from gui.main_window import MainWindow
|
||||
from gui.screens.settings import SettingsScreen
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/704433',
|
||||
'Account view interactions: Edit Status default account')
|
||||
@pytest.mark.case(704433)
|
||||
|
|
|
@ -5,6 +5,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
from gui.components.signing_phrase_popup import SigningPhrasePopup
|
||||
|
@ -12,7 +13,7 @@ from gui.components.wallet.authenticate_popup import AuthenticatePopup
|
|||
from gui.components.toast_message import ToastMessage
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/edit/703598',
|
||||
'Add new account from wallet settings screen')
|
||||
@pytest.mark.case(703598)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import driver
|
||||
|
||||
|
@ -8,7 +9,7 @@ from constants.wallet import WalletNetworkNaming, WalletEditNetworkErrorMessages
|
|||
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703515',
|
||||
'Network: Network: Editing network -> Restore defaults')
|
||||
@pytest.mark.case(703515)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure import step
|
||||
from . import marks
|
||||
|
||||
import configs.system
|
||||
from constants.wallet import WalletNetworkSettings, WalletNetworkNaming
|
||||
|
@ -8,7 +9,7 @@ from gui.components.wallet.testnet_mode_banner import TestnetModeBanner
|
|||
from gui.components.toast_message import ToastMessage
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703505', 'Network: Testnet switching')
|
||||
@pytest.mark.case(703505)
|
||||
def test_switch_testnet_mode(main_screen: MainWindow):
|
||||
|
|
|
@ -4,6 +4,7 @@ import string
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs
|
||||
import driver
|
||||
|
@ -12,7 +13,7 @@ from gui.components.signing_phrase_popup import SigningPhrasePopup
|
|||
from gui.main_window import MainWindow
|
||||
from gui.screens.settings_wallet import WalletSettingsView
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703508',
|
||||
'Watched addresses: Excl. / Include in total balance functionality for watched address')
|
||||
@pytest.mark.case(703508)
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import configs
|
||||
import driver
|
||||
from gui.components.back_up_your_seed_phrase_banner import BackUpSeedPhraseBanner
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703001', 'Backup seed phrase')
|
||||
@pytest.mark.case(703001)
|
||||
def test_back_up_seed_phrase(main_screen: MainWindow):
|
||||
|
|
|
@ -3,8 +3,9 @@ import pytest
|
|||
import psutil
|
||||
from allure_commons._allure import step
|
||||
from gui.main_window import MainWindow
|
||||
from . import marks
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703010', 'Settings - Sign out & Quit')
|
||||
@pytest.mark.case(703010)
|
||||
def test_sign_out_and_quit(aut, main_screen: MainWindow):
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
import pytest
|
||||
|
||||
marks = pytest.mark.wallet
|
|
@ -3,12 +3,13 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
from gui.components.signing_phrase_popup import SigningPhrasePopup
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703022', 'Edit default wallet account')
|
||||
@pytest.mark.case(703022)
|
||||
@pytest.mark.parametrize('name, new_name, new_color, new_emoji, new_emoji_unicode', [
|
||||
|
|
|
@ -3,13 +3,14 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
from gui.components.signing_phrase_popup import SigningPhrasePopup
|
||||
from gui.components.toast_message import ToastMessage
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703026',
|
||||
'Manage a watch-only account from context menu option')
|
||||
@pytest.mark.case(703026)
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
from driver.aut import AUT
|
||||
|
@ -11,7 +12,7 @@ from gui.components.wallet.authenticate_popup import AuthenticatePopup
|
|||
from gui.components.toast_message import ToastMessage
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/704459',
|
||||
'User can add one more account after restarting the app')
|
||||
@pytest.mark.case(704459)
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
from gui.components.signing_phrase_popup import SigningPhrasePopup
|
||||
|
@ -10,7 +11,7 @@ from gui.components.wallet.authenticate_popup import AuthenticatePopup
|
|||
from gui.components.toast_message import ToastMessage
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703026', 'Manage a watch-only account')
|
||||
@pytest.mark.case(703026)
|
||||
@pytest.mark.parametrize('address, name, color, emoji, emoji_unicode', [
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
import driver
|
||||
|
@ -11,7 +12,7 @@ from gui.components.wallet.authenticate_popup import AuthenticatePopup
|
|||
from gui.components.toast_message import ToastMessage
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703036',
|
||||
'Manage an account created from the generated seed phrase')
|
||||
@pytest.mark.case(703036)
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
import driver
|
||||
|
@ -11,7 +12,7 @@ from gui.components.toast_message import ToastMessage
|
|||
from gui.components.wallet.authenticate_popup import AuthenticatePopup
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703029', 'Manage a private key imported account')
|
||||
@pytest.mark.case(703029)
|
||||
@pytest.mark.parametrize('user_account', [constants.user.user_account_one])
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
import driver
|
||||
|
@ -11,7 +12,7 @@ from gui.components.toast_message import ToastMessage
|
|||
from gui.components.wallet.authenticate_popup import AuthenticatePopup
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703030', 'Manage a seed phrase imported account')
|
||||
@pytest.mark.case(703030)
|
||||
@pytest.mark.parametrize('user_account', [constants.user.user_account_one])
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
import driver
|
||||
|
@ -11,7 +12,7 @@ from gui.components.toast_message import ToastMessage
|
|||
from gui.components.wallet.authenticate_popup import AuthenticatePopup
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703033', 'Manage a generated account')
|
||||
@pytest.mark.case(703033)
|
||||
@pytest.mark.parametrize('user_account', [constants.user.user_account_one])
|
||||
|
|
|
@ -3,6 +3,7 @@ import time
|
|||
import allure
|
||||
import pytest
|
||||
from allure_commons._allure import step
|
||||
from . import marks
|
||||
|
||||
import constants
|
||||
import driver
|
||||
|
@ -10,7 +11,7 @@ from gui.components.signing_phrase_popup import SigningPhrasePopup
|
|||
from gui.components.toast_message import ToastMessage
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703028', 'Manage a custom generated account')
|
||||
@pytest.mark.case(703028)
|
||||
@pytest.mark.parametrize('user_account', [constants.user.user_account_one])
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
import allure
|
||||
import pytest
|
||||
from allure import step
|
||||
from . import marks
|
||||
|
||||
import configs
|
||||
import driver
|
||||
from gui.components.signing_phrase_popup import SigningPhrasePopup
|
||||
from gui.main_window import MainWindow
|
||||
|
||||
|
||||
pytestmark = marks
|
||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703021', 'Manage a saved address')
|
||||
@pytest.mark.case(703021)
|
||||
@pytest.mark.parametrize('name, address, new_name', [
|
||||
|
|
Loading…
Reference in New Issue