Skip to content

Commit a78e8c6

Browse files
committed
test(qa): settle visible replies on the active channel transport
1 parent 7879adf commit a78e8c6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎qa/scenarios/channels/group-visible-reply-tool.yaml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,12 @@ flow:
4848
- ref: env
4949
- 60000
5050
- call: reset
51+
- set: delivery
52+
value:
53+
expr: "transport.buildAgentDelivery({ target: `group:${config.conversationId}` })"
5154
- set: sessionKey
5255
value:
53-
expr: "buildAgentSessionKey({ agentId: 'qa', channel: 'qa-channel', accountId: 'default', peer: { kind: 'group', id: `group:${config.conversationId}` }, dmScope: env.cfg.session?.dmScope, identityLinks: env.cfg.session?.identityLinks })"
56+
expr: "buildAgentSessionKey({ agentId: 'qa', channel: delivery.channel, accountId: transport.accountId, peer: { kind: 'group', id: delivery.replyTo }, dmScope: env.cfg.session?.dmScope, identityLinks: env.cfg.session?.identityLinks })"
5457
- set: requestCursorBefore
5558
value:
5659
expr: "env.mock ? (await fetchJson(`${env.mock.baseUrl}/debug/request-cursor`)).cursor : 0"

0 commit comments

Comments
 (0)