Skip to content

Commit 1f15b95

Browse files
committed
use the default tab
1 parent b31da5c commit 1f15b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/amazonq/test/e2e/amazonq/chat.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('Amazon Q Chat', function () {
3737
registerAuthHook('amazonq-test-account')
3838
framework = new qTestingFramework('cwc', true, [])
3939
console.log(document.body)
40-
tab = framework.getSelectedTab()
40+
tab = framework.getTabs()[0] // use the default tab that gets created
4141

4242
/**
4343
* Since sending messages to the UI is asynchronous, race conditions can occur

0 commit comments

Comments
 (0)