diff --git a/.changes/next-release/bugfix-2d7fabbf-8b6b-4a9d-8764-fb0286a5ea23.json b/.changes/next-release/bugfix-2d7fabbf-8b6b-4a9d-8764-fb0286a5ea23.json new file mode 100644 index 00000000000..a9a5e8dc2f4 --- /dev/null +++ b/.changes/next-release/bugfix-2d7fabbf-8b6b-4a9d-8764-fb0286a5ea23.json @@ -0,0 +1,4 @@ +{ + "type" : "bugfix", + "description" : "/test: update capability card text" +} \ No newline at end of file diff --git a/plugins/amazonq/mynah-ui/src/mynah-ui/ui/apps/codeTestChatConnector.ts b/plugins/amazonq/mynah-ui/src/mynah-ui/ui/apps/codeTestChatConnector.ts index dac95c045a5..5f6806c5dfa 100644 --- a/plugins/amazonq/mynah-ui/src/mynah-ui/ui/apps/codeTestChatConnector.ts +++ b/plugins/amazonq/mynah-ui/src/mynah-ui/ui/apps/codeTestChatConnector.ts @@ -51,18 +51,18 @@ interface MessageData { function getIntroductionCardContent(): IntroductionCardContentType { const introductionBody = [ - "I can generate unit tests for your active file. ", + "I can generate unit tests for the active file or open project in your IDE.", "\n\n", - "After you select the functions or methods I should focus on, I will:\n", - "1. Generate unit tests\n", - "2. Place them into relevant test file\n", + "I can do things like:\n", + "- Add unit tests for highlighted functions\n", + "- Generate tests for null and empty inputs\n", "\n\n", - "To learn more, check out our [user guide](https://aws.amazon.com/q/developer/)." + "To learn more, visit the [Amazon Q Developer User Guide](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/test-generation.html)." ].join(""); return { - title: "/test", - description: "Included in your Q Developer subscription", + title: "/test - Unit test generation", + description: "Generate unit tests for selected code", icon: MynahIcons.CHECK_LIST, content: { body: introductionBody