Skip to content

Commit f0c72a5

Browse files
committed
fixup
1 parent bbe1b5d commit f0c72a5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { MynahUIDataModel } from '@aws/mynah-ui'
1111
import { assertContextCommands, assertQuickActions } from './assert'
1212
import { registerAuthHook, using } from 'aws-core-vscode/test'
1313
import { loginToIdC } from './utils/setup'
14-
import { helpMessage } from 'aws-core-vscode/amazonq'
14+
import { webviewConstants } from 'aws-core-vscode/amazonq'
1515

1616
describe('Amazon Q Chat', function () {
1717
let framework: qTestingFramework
@@ -73,10 +73,10 @@ describe('Amazon Q Chat', function () {
7373
describe('clicks examples', () => {
7474
it('click help', async () => {
7575
tab.clickButton('help')
76-
await tab.waitForText(helpMessage)
76+
await tab.waitForText(webviewConstants.helpMessage)
7777
const chatItems = tab.getChatItems()
7878
assert.deepStrictEqual(chatItems[4].type, 'answer')
79-
assert.deepStrictEqual(chatItems[4].body, helpMessage)
79+
assert.deepStrictEqual(chatItems[4].body, webviewConstants.helpMessage)
8080
})
8181
})
8282
})

packages/amazonq/test/e2e/amazonq/framework/framework.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class qTestingFramework {
2929
featureName: TabType,
3030
amazonQEnabled: boolean,
3131
featureConfigsSerialized: [string, FeatureContext][],
32-
welcomeCount = 10 // by default don't show the welcome page
32+
welcomeCount = Number.MAX_VALUE // by default don't show the welcome page
3333
) {
3434
/**
3535
* Instantiate the UI and override the postMessage to publish using the app message

packages/core/src/amazonq/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export { init as gumbyChatAppInit } from '../amazonqGumby/app'
2525
export { init as testChatAppInit } from '../amazonqTest/app'
2626
export { init as docChatAppInit } from '../amazonqDoc/app'
2727
export { amazonQHelpUrl } from '../shared/constants'
28-
export * from './webview/ui/texts/constants'
28+
export * as webviewConstants from './webview/ui/texts/constants'
2929
export { listCodeWhispererCommandsWalkthrough } from '../codewhisperer/ui/statusBarMenu'
3030
export { focusAmazonQPanel, focusAmazonQPanelKeybinding } from '../codewhispererChat/commands/registerCommands'
3131
export { TryChatCodeLensProvider, tryChatCodeLensCommand } from '../codewhispererChat/editor/codelens'

0 commit comments

Comments
 (0)