chore: marked xfail permissions test (bug), fixed messaging and sign up with wrong name

This commit is contained in:
Valentina Novgorodtceva 2024-02-19 17:18:14 +07:00 committed by Anastasiya
parent b309456a33
commit 1081d9768e
4 changed files with 5 additions and 5 deletions

View File

@ -6,6 +6,6 @@ class Messaging(Enum):
CONTACT_REQUEST_SENT = 'Contact Request Sent'
NO_FRIENDS_ITEM = 'You dont have any contacts yet'
NEW_CONTACT_REQUEST = 'New Contact Request'
MESSAGE_NOTE_IDENTITY_REQUEST = 'Ask a question that only the real athletic will be able to answer e.g. a question about a shared experience, or ask athletic to enter a code or phrase you have sent to them via a different communication channel (phone, post, etc...).'
MESSAGE_NOTE_IDENTITY_REQUEST = 'Ask a question only they can answer'
YOU_NEED_TO_BE_A_MEMBER = 'You need to be a member of this group to send messages'

View File

@ -3,8 +3,8 @@ from enum import Enum
class OnboardingMessages(Enum):
WRONG_LOGIN_LESS_LETTERS = 'Username must be at least 5 character(s)'
WRONG_LOGIN_SYMBOLS_NOT_ALLOWED = 'Only letters, numbers, underscores, periods, whitespaces and hyphens allowed'
WRONG_LOGIN_LESS_LETTERS = 'Display Names must be at least 5 character(s) long'
WRONG_LOGIN_SYMBOLS_NOT_ALLOWED = 'Invalid characters (use A-Z and 0-9, hyphens and underscores only)'
WRONG_PASSWORD = 'Password must be at least 10 characters long'
PASSWORDS_DONT_MATCH = "Passwords don't match"
PASSWORD_INCORRECT = 'Password incorrect'

View File

@ -19,7 +19,7 @@ class VerifyIdentityPopup(BasePopup):
@property
@allure.step('Get message note from identity verification request')
def message_note(self) -> str:
return str(self._message_input.object.placeholderText)
return str(self._message_input.object.label)
@property
@allure.step('Get send verification button enabled state')

View File

@ -33,7 +33,7 @@ pytestmark = marks
pytest.param(True, 'Ether', 'Dai Stablecoin', '10', 'viewOnly', '#general', '10 ETH', '10 DAI', 'View only'),
pytest.param(False, False, False, False, 'becomeAdmin', False, False, False, 'Become an admin')
])
# @pytest.mark.xfail(reason="https://github.com/status-im/desktop-qa-automation/issues/495")
@pytest.mark.xfail(reason='https://github.com/status-im/status-desktop/issues/13621')
def test_add_edit_and_remove_permissions(main_screen: MainWindow, params, checkbox_state: bool, first_asset,
second_asset, amount, allowed_to: str, in_channel, asset_title,
second_asset_title, allowed_to_title: str):