Skip to content

Commit b872127

Browse files
committed
lint actions fix
1 parent 172fc3e commit b872127

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/amazonq/test/e2e_new/amazonq/tests/rules.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ describe('Amazon Q Rules Functionality', function () {
2121

2222
// the "rules" menu won't show unless we have a folder open
2323
await VSBrowser.instance.openResources(path.join('..', 'utils', 'resources', 'testFolder'))
24-
;(await new ActivityBar().getViewControl('Explorer'))?.openView()
24+
const explorerControl = await new ActivityBar().getViewControl('Explorer')
25+
await explorerControl?.openView()
2526
const view = new SideBarView()
2627
const content = view.getContent()
2728
const tree = (await content.getSection('testFolder')) as DefaultTreeSection
2829
await tree.openItem('test-folder')
2930
const workbench = testContext.workbench
3031
await workbench.executeCommand('Amazon Q: Open Chat')
3132

32-
// sleep is needed because the workbench needs some time to load
33+
// sleep is needed because the workbench needs some time to load
3334
await sleep(5000)
3435
const activityBar = new ActivityBar()
3536
const amazonQControl = await activityBar.getViewControl('Amazon Q')

0 commit comments

Comments
 (0)