Skip to content

Commit a7f3aad

Browse files
committed
test(amazonq): Move chat help out of describe block
1 parent 0cb2b19 commit a7f3aad

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

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

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,11 @@ describe('Amazon Q Chat', function () {
103103
assert.deepStrictEqual(chatItems[4].type, 'answer')
104104
})
105105

106-
describe('Clicks examples', () => {
107-
it('Click help', async () => {
108-
tab.clickButton('help')
109-
await tab.waitForText(webviewConstants.helpMessage)
110-
const chatItems = tab.getChatItems()
111-
assert.deepStrictEqual(chatItems[4].type, 'answer')
112-
assert.deepStrictEqual(chatItems[4].body, webviewConstants.helpMessage)
113-
})
106+
it('Clicks help', async () => {
107+
tab.clickButton('help')
108+
await tab.waitForText(webviewConstants.helpMessage)
109+
const chatItems = tab.getChatItems()
110+
assert.deepStrictEqual(chatItems[4].type, 'answer')
111+
assert.deepStrictEqual(chatItems[4].body, webviewConstants.helpMessage)
114112
})
115113
})

0 commit comments

Comments
 (0)