Skip to content

Commit e1e4284

Browse files
committed
add more logs
1 parent 332e309 commit e1e4284

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/amazonq/test/e2e/amazonq/review.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ describe('Amazon Q Code Review', function () {
263263

264264
await new Promise((resolve) => setTimeout(resolve, 1000))
265265

266+
console.log('webviewPanel', webviewPanel)
266267
assert.ok(webviewPanel, 'Security issue webview panel did not open after waiting')
267268

268269
// Wait until viewDetailsAction.command is defined
@@ -280,6 +281,8 @@ describe('Amazon Q Code Review', function () {
280281
)
281282
await new Promise((resolve) => setTimeout(resolve, 1000))
282283

284+
console.log('viewDetails', viewDetailsActionDefined)
285+
283286
assert.ok(viewDetailsActionDefined, 'viewDetailsAction.command was not defined after waiting')
284287

285288
const issue = viewDetailsActionDefined.arguments?.[0] as CodeScanIssue
@@ -309,6 +312,8 @@ describe('Amazon Q Code Review', function () {
309312

310313
await new Promise((resolve) => setTimeout(resolve, 1000))
311314

315+
console.log('updated issue', updatedIssue)
316+
312317
// Verify the fix was generated by checking if the issue has suggestedFixes
313318
assert.ok(updatedIssue, 'Could not find updated issue')
314319
assert.ok(updatedIssue.suggestedFixes.length > 0, 'No suggested fixes were generated')

0 commit comments

Comments
 (0)