File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
packages/amazonq/test/e2e/amazonq Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff 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' )
You can’t perform that action at this time.
0 commit comments