tests: read chat started in any order with subscription notices (#7869)

This commit is contained in:
Evgeny @ SimpleX Chat authored and GitHub committed 2026-10-25 17:25:27 +00:00
1 parent a5cf718b3c
commit 4f81c6f632
1 file changed
+3 -4
+3 -4
View File
@@ -916,11 +916,11 @@ testUserBadgeGroupLinkJoiner ps = do
alice <## "bob (Bob): accepting request to join group #team..."
memberBadgeHeader alice "team" "bob" `shouldReturn` Just ("R", BSActive)
bob ##> "/_start"
bob <## "chat started"
concurrentlyN_
[ alice <## "#team: bob joined the group",
bob
<### [ "subscribed 1 connections on server localhost",
<### [ "chat started",
"subscribed 1 connections on server localhost",
"#team: joining the group...",
"#team: you joined the group"
]
@@ -987,8 +987,7 @@ testUserBadgeInvitedIntroduced ps = do
bob ##> "/_stop"
bob <## "chat stopped"
cath ##> "/_start"
cath <## "chat started"
cath <### ["subscribed 2 connections on server localhost", "#team: alice added bob (Bob) to the group (connecting...)"]
cath <### ["chat started", "subscribed 2 connections on server localhost", "#team: alice added bob (Bob) to the group (connecting...)"]
memberBadgeHeader cath "team" "bob" `shouldReturn` Just ("CG", BSActive)
testUserBadgeInvitingHost :: HasCallStack => TestParams -> IO ()