tests: replace seed recovery with new user creation instead

This commit is contained in:
Anastasiya Semenkevich 2024-07-01 11:55:26 +03:00 committed by Anastasiya
parent 5e8f7515cf
commit 5684aac868
3 changed files with 5 additions and 4 deletions

View File

@ -26,8 +26,8 @@ pytestmark = marks
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703510', 'Join community via owner invite')
@pytest.mark.case(703255, 703256, 703510)
def test_join_community_and_pin_unpin_message(multiple_instances):
user_one: UserAccount = constants.user_account_one
user_two: UserAccount = constants.user_account_two
user_one: UserAccount = constants.user_with_random_attributes_1
user_two: UserAccount = constants.user_with_random_attributes_2
community_params = deepcopy(constants.community_params)
community_params['name'] = f'{datetime.now():%d%m%Y_%H%M%S}'
main_screen = MainWindow()

View File

@ -10,13 +10,14 @@ import driver
from constants.images_paths import HEART_EMOJI_PATH, ANGRY_EMOJI_PATH, THUMBSUP_EMOJI_PATH, THUMBSDOWN_EMOJI_PATH, \
LAUGHING_EMOJI_PATH, SAD_EMOJI_PATH
from gui.screens.messages import MessagesScreen, ToolBar
from tests.settings.settings_messaging import marks
import configs.testpath
import constants
from constants import UserAccount
from gui.main_window import MainWindow
from . import marks
pytestmark = marks

View File

@ -10,9 +10,9 @@ from constants.links import external_link, link_to_status_community, status_user
from constants.messaging import Messaging
from gui.main_window import MainWindow
from gui.screens.messages import MessagesScreen, ToolBar
from tests.settings.settings_messaging import marks
import configs.testpath
from . import marks
pytestmark = marks