Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinkney-aws committed Jan 15, 2025
1 parent bbe1b5d commit f0c72a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/amazonq/test/e2e/amazonq/chat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { MynahUIDataModel } from '@aws/mynah-ui'
import { assertContextCommands, assertQuickActions } from './assert'
import { registerAuthHook, using } from 'aws-core-vscode/test'
import { loginToIdC } from './utils/setup'
import { helpMessage } from 'aws-core-vscode/amazonq'
import { webviewConstants } from 'aws-core-vscode/amazonq'

describe('Amazon Q Chat', function () {
let framework: qTestingFramework
Expand Down Expand Up @@ -73,10 +73,10 @@ describe('Amazon Q Chat', function () {
describe('clicks examples', () => {
it('click help', async () => {
tab.clickButton('help')
await tab.waitForText(helpMessage)
await tab.waitForText(webviewConstants.helpMessage)
const chatItems = tab.getChatItems()
assert.deepStrictEqual(chatItems[4].type, 'answer')
assert.deepStrictEqual(chatItems[4].body, helpMessage)
assert.deepStrictEqual(chatItems[4].body, webviewConstants.helpMessage)
})
})
})
2 changes: 1 addition & 1 deletion packages/amazonq/test/e2e/amazonq/framework/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class qTestingFramework {
featureName: TabType,
amazonQEnabled: boolean,
featureConfigsSerialized: [string, FeatureContext][],
welcomeCount = 10 // by default don't show the welcome page
welcomeCount = Number.MAX_VALUE // by default don't show the welcome page
) {
/**
* Instantiate the UI and override the postMessage to publish using the app message
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/amazonq/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export { init as gumbyChatAppInit } from '../amazonqGumby/app'
export { init as testChatAppInit } from '../amazonqTest/app'
export { init as docChatAppInit } from '../amazonqDoc/app'
export { amazonQHelpUrl } from '../shared/constants'
export * from './webview/ui/texts/constants'
export * as webviewConstants from './webview/ui/texts/constants'
export { listCodeWhispererCommandsWalkthrough } from '../codewhisperer/ui/statusBarMenu'
export { focusAmazonQPanel, focusAmazonQPanelKeybinding } from '../codewhispererChat/commands/registerCommands'
export { TryChatCodeLensProvider, tryChatCodeLensCommand } from '../codewhispererChat/editor/codelens'
Expand Down

0 comments on commit f0c72a5

Please sign in to comment.