chore: fix link preview (#15851)

Co-authored-by: Valentina Novgorodtceva <valentina@status.im>
This commit is contained in:
Anastasiya 2024-07-29 19:53:53 +03:00 committed by GitHub
parent d7e3af8165
commit aca39e1b6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,4 @@
# Links for link preview tests
external_link = 'https://github.com/status-im/status-desktop/issues/12018'
link_to_status_community = 'https://status.app/c/G4IAAMSIuU08Lm3oHzSz695ImidijVBxyoFDGEiSYAvADsk9ZVOKYlT2b-lHStyz1MqqkK2Xa4FwoUiq3LBgWsYI_ht6hWXCyLu0TGAk0dGu8IyQWtDSdIXOQ3hWscLjkTo5Vg5-eyUuV8jOVv7khJ_uTofT_TijN-sB#zQ3shZeEJqTC1xhGUjxuS4rtHSrhJ8vUYp64v6qWkLpvdy9L9'
status_user_profile_link = 'https://status.app/u/iwWACgoKCHF3ZWVydHR5Aw==#zQ3shaZbuPnPRw7btzD8AD3Apty32MMjExBDRe8vts3tag29D'
status_user_profile_link = 'https://status.app/u/CwSACgcKBVRlc3QxAw==#zQ3shaRkdu62ft23cPZ1tBbfhJjcDqXCS3SGrnRtUCbC2Nbvc'

View File

@ -23,8 +23,8 @@ pytestmark = marks
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/704589', 'Status user profile link preview')
@pytest.mark.case(704596, 704578, 704578)
@pytest.mark.parametrize('community_name, domain_link, user_name, domain_link_2, user_emoji_hash',
[pytest.param('Status', 'status.app', 'qweertty', 'github.com',
'0x04c369e2e5d20c8e35cc2c7802cd7a58af3d4d54d537a3c05fd72e012dd9535b881b2c852b7cc11b211126eeeae6364b5fc024ee6ffa5a462905e6e8604729aec6')
[pytest.param('Status', 'status.app', 'Test1', 'github.com',
'0x04c1671d3659b92671cdac657a901e133ca1cfadddbb640db7dec342ee70c4142533cc03e89eff2bd09dd75aea71d45ab2b605bc7e1996c4a6a82d037f4070d13c')
])
def test_link_previews(multiple_instances, community_name, domain_link, user_name, domain_link_2, user_emoji_hash):
user_one: UserAccount = constants.user_with_random_attributes_1