Skip to content

Commit

Permalink
test(plugin-hubtype-analytics): add bot_interaction_id in expect events
Browse files Browse the repository at this point in the history
  • Loading branch information
Iru89 committed Jul 29, 2024
1 parent 59ce3c7 commit 9fcb97e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ describe('Create feedback knowledgebase event', () => {
option: 'thumbs_down',
value: 0,
type: EventType.WebEvent,
bot_interaction_id: 'testInteractionId',
})
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ describe('Create feedback event', () => {
option: '**',
value: 2,
type: EventType.WebEvent,
bot_interaction_id: 'testInteractionId',
})
})

Expand Down Expand Up @@ -57,6 +58,7 @@ describe('Create feedback event', () => {
value: 2,
comment: 'This is a comment',
type: EventType.WebEvent,
bot_interaction_id: 'testInteractionId',
})
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ describe('Create webview events', () => {
webview_step_name: 'step1',
webview_step_n: 1,
type: EventType.WebEvent,
bot_interaction_id: 'testInteractionId',
})
})

Expand Down Expand Up @@ -50,6 +51,7 @@ describe('Create webview events', () => {
webview_end_fail_type: 'canceled_by_user',
webview_end_fail_message: 'Closed by user',
type: EventType.WebEvent,
bot_interaction_id: 'testInteractionId',
})
})
})

0 comments on commit 9fcb97e

Please sign in to comment.