Skip to content

Commit

Permalink
Merge pull request aws#6365 from chungjac/test-gen-completed-message
Browse files Browse the repository at this point in the history
fix(amazonq): add message after accept/reject action
  • Loading branch information
ashishrp-aws authored Jan 15, 2025
2 parents d862a21 + e5d4538 commit 12256f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "Bug Fix",
"description": "Amazon Q /test: Unit test generation completed message shows after accept/reject action"
}
2 changes: 2 additions & 0 deletions packages/core/src/amazonqTest/chat/controller/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,8 @@ export class TestController {

// TODO: Check if there are more cases to endSession if yes create a enum or type for step
private async endSession(data: any, step: FollowUpTypes) {
this.messenger.sendMessage('Unit test generation completed.', data.tabID, 'answer')

const session = this.sessionStorage.getSession()
if (step === FollowUpTypes.RejectCode) {
TelemetryHelper.instance.sendTestGenerationToolkitEvent(
Expand Down

0 comments on commit 12256f7

Please sign in to comment.