Skip to content

Commit 131dad9

Browse files
author
David Hasani
committed
fix e2e test
1 parent 21035da commit 131dad9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/amazonq/test/e2e/amazonq/transformByQ.test.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ import assert from 'assert'
77
import { qTestingFramework } from './framework/framework'
88
import sinon from 'sinon'
99
import { Messenger } from './framework/messenger'
10-
import { JDKVersion, TransformationType, transformByQState } from 'aws-core-vscode/codewhisperer'
10+
import {
11+
CodeWhispererConstants,
12+
JDKVersion,
13+
TransformationType,
14+
transformByQState,
15+
} from 'aws-core-vscode/codewhisperer'
1116
import { GumbyController, setMaven, startTransformByQ, TabsStorage } from 'aws-core-vscode/amazonqGumby'
1217
import { using, registerAuthHook, TestFolder } from 'aws-core-vscode/test'
1318
import { loginToIdC } from './utils/setup'
@@ -158,6 +163,10 @@ describe('Amazon Q Code Transformation', function () {
158163

159164
transformByQState.setSummaryFilePath(path.join(tmpDir, 'summary.md'))
160165

166+
transformByQState
167+
.getChatMessenger()
168+
?.sendJobFinishedMessage(tab.tabID, CodeWhispererConstants.viewProposedChangesChatMessage)
169+
161170
tab.clickCustomFormButton({
162171
id: 'gumbyViewSummary',
163172
text: 'View summary',

0 commit comments

Comments
 (0)