Skip to content

Commit e50a483

Browse files
committed
adding more debugging logs to figure out whats going on
1 parent cfea689 commit e50a483

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

packages/amazonq/test/e2e_new/amazonq/utils/authUtils.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,19 @@ export async function signInToAmazonQ(): Promise<void> {
5757
const dialog = new ModalDialog()
5858
console.log('THIS WORKED 5')
5959
await dialog.pushButton('Open')
60+
console.log('THIS WORKED 6')
6061
await sleep(12000)
6162
console.log('Manual authentication should be done')
6263
await webviewView.switchBack()
63-
64+
console.log('THIS WORKED 7')
6465
const editorView = workbench.getEditorView()
66+
console.log('THIS WORKED 8')
6567
await editorView.closeAllEditors()
68+
console.log('THIS WORKED 9')
6669
webviewView = new WebviewView()
70+
console.log('THIS WORKED 10')
6771
await webviewView.switchToFrame()
72+
console.log('THIS WORKED 11')
6873

6974
testContext.workbench = workbench
7075
testContext.webviewView = webviewView

packages/amazonq/test/e2e_new/amazonq/utils/setup.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ before(async function () {
1313
console.log('You have 60 seconds to complete this step\n\n')
1414
await signInToAmazonQ()
1515
const webviewView = testContext.webviewView
16+
console.log('THIS WORKED 13')
1617
await closeAllTabs(webviewView)
18+
console.log('THIS WORKED 14')
1719
})

0 commit comments

Comments
 (0)