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'
11
11
import { assertContextCommands , assertQuickActions } from './assert'
12
12
import { registerAuthHook , using } from 'aws-core-vscode/test'
13
13
import { loginToIdC } from './utils/setup'
14
- import { helpMessage } from 'aws-core-vscode/amazonq'
14
+ import { webviewConstants } from 'aws-core-vscode/amazonq'
15
15
16
16
describe ( 'Amazon Q Chat' , function ( ) {
17
17
let framework : qTestingFramework
@@ -73,10 +73,10 @@ describe('Amazon Q Chat', function () {
73
73
describe ( 'clicks examples' , ( ) => {
74
74
it ( 'click help' , async ( ) => {
75
75
tab . clickButton ( 'help' )
76
- await tab . waitForText ( helpMessage )
76
+ await tab . waitForText ( webviewConstants . helpMessage )
77
77
const chatItems = tab . getChatItems ( )
78
78
assert . deepStrictEqual ( chatItems [ 4 ] . type , 'answer' )
79
- assert . deepStrictEqual ( chatItems [ 4 ] . body , helpMessage )
79
+ assert . deepStrictEqual ( chatItems [ 4 ] . body , webviewConstants . helpMessage )
80
80
} )
81
81
} )
82
82
} )
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class qTestingFramework {
29
29
featureName : TabType ,
30
30
amazonQEnabled : boolean ,
31
31
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
33
33
) {
34
34
/**
35
35
* 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'
25
25
export { init as testChatAppInit } from '../amazonqTest/app'
26
26
export { init as docChatAppInit } from '../amazonqDoc/app'
27
27
export { amazonQHelpUrl } from '../shared/constants'
28
- export * from './webview/ui/texts/constants'
28
+ export * as webviewConstants from './webview/ui/texts/constants'
29
29
export { listCodeWhispererCommandsWalkthrough } from '../codewhisperer/ui/statusBarMenu'
30
30
export { focusAmazonQPanel , focusAmazonQPanelKeybinding } from '../codewhispererChat/commands/registerCommands'
31
31
export { TryChatCodeLensProvider , tryChatCodeLensCommand } from '../codewhispererChat/editor/codelens'
You can’t perform that action at this time.
0 commit comments