We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a5430f commit ca70b21Copy full SHA for ca70b21
packages/amazonq/test/e2e/inline/inline.test.ts
@@ -41,6 +41,16 @@ describe('Amazon Q Inline', async function () {
41
})
42
43
afterEach(async function () {
44
+ if (this.currentTest?.state === 'failed') {
45
+ console.log('editor contents:\n %O', vscode.window.activeTextEditor?.document.getText())
46
+ const suggestionStates = globals.telemetry.logger
47
+ .query({
48
+ metricName: 'codewhisperer_userTriggerDecision',
49
+ })
50
+ .map((item) => item.codewhispererSuggestionState)
51
+
52
+ console.log(`telemetry:\n %O`, suggestionStates)
53
+ }
54
await closeAllEditors()
55
56
0 commit comments