File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { MynahUIDataModel } from '@aws/mynah-ui'
1111import { assertContextCommands , assertQuickActions } from './assert'
1212import { registerAuthHook , using } from 'aws-core-vscode/test'
1313import { loginToIdC } from './utils/setup'
14- import { helpMessage } from 'aws-core-vscode/amazonq'
14+ import { webviewConstants } from 'aws-core-vscode/amazonq'
1515
1616describe ( '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} )
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export { init as gumbyChatAppInit } from '../amazonqGumby/app'
2525export { init as testChatAppInit } from '../amazonqTest/app'
2626export { init as docChatAppInit } from '../amazonqDoc/app'
2727export { amazonQHelpUrl } from '../shared/constants'
28- export * from './webview/ui/texts/constants'
28+ export * as webviewConstants from './webview/ui/texts/constants'
2929export { listCodeWhispererCommandsWalkthrough } from '../codewhisperer/ui/statusBarMenu'
3030export { focusAmazonQPanel , focusAmazonQPanelKeybinding } from '../codewhispererChat/commands/registerCommands'
3131export { TryChatCodeLensProvider , tryChatCodeLensCommand } from '../codewhispererChat/editor/codelens'
You can’t perform that action at this time.
0 commit comments