@@ -49,7 +49,7 @@ export const cancelBuildProgressButton: ChatItemButton = {
4949export const buildProgressField : ProgressField = {
5050 status : 'default' ,
5151 value : - 1 ,
52- text : 'Executing ...' ,
52+ text : 'Compiling project ...' ,
5353 actions : [ cancelBuildProgressButton ] ,
5454}
5555
@@ -87,7 +87,7 @@ export const testGenBuildProgressMessage = (currentStep: TestGenerationBuildStep
8787 const session = ChatSessionManager . Instance . getSession ( )
8888 const statusText = BuildStatus [ session . buildStatus ] . toLowerCase ( )
8989 const icon = session . buildStatus === BuildStatus . SUCCESS ? checkIcons [ 'done' ] : checkIcons [ 'error' ]
90- let message = `Sure. This may take a few minutes and I'll share updates on my progress here.
90+ let message = `Sure. This may take a few minutes and I'll update the progress here.\n
9191**Progress summary**\n\n`
9292
9393 if ( currentStep === TestGenerationBuildStep . START_STEP ) {
@@ -96,16 +96,25 @@ export const testGenBuildProgressMessage = (currentStep: TestGenerationBuildStep
9696
9797 updateStepStatuses ( currentStep , status )
9898
99- if ( currentStep >= TestGenerationBuildStep . RUN_BUILD ) {
100- message += `${ getIconForStep ( TestGenerationBuildStep . RUN_BUILD ) } Started build execution\n`
99+ if ( currentStep === TestGenerationBuildStep . RUN_BUILD ) {
100+ message += `${ getIconForStep ( TestGenerationBuildStep . RUN_BUILD ) } Project compiling\n`
101+ } else if ( currentStep >= TestGenerationBuildStep . RUN_BUILD ) {
102+ message += `${ getIconForStep ( TestGenerationBuildStep . RUN_BUILD ) } Project compiled\n`
101103 }
102104
103- if ( currentStep >= TestGenerationBuildStep . RUN_EXECUTION_TESTS ) {
104- message += `${ getIconForStep ( TestGenerationBuildStep . RUN_EXECUTION_TESTS ) } Executing tests\n`
105+ if ( currentStep === TestGenerationBuildStep . RUN_EXECUTION_TESTS ) {
106+ message += `${ getIconForStep ( TestGenerationBuildStep . RUN_EXECUTION_TESTS ) } Running tests\n`
107+ } else if ( currentStep >= TestGenerationBuildStep . RUN_EXECUTION_TESTS ) {
108+ message += `${ getIconForStep ( TestGenerationBuildStep . RUN_EXECUTION_TESTS ) } Ran tests\n`
105109 }
106110
107- if ( currentStep >= TestGenerationBuildStep . FIXING_TEST_CASES && session . buildStatus === BuildStatus . FAILURE ) {
108- message += `${ getIconForStep ( TestGenerationBuildStep . FIXING_TEST_CASES ) } Fixing errors in tests\n\n`
111+ if ( currentStep === TestGenerationBuildStep . FIXING_TEST_CASES && session . buildStatus === BuildStatus . FAILURE ) {
112+ message += `${ getIconForStep ( TestGenerationBuildStep . FIXING_TEST_CASES ) } Fixing test failures\n\n`
113+ } else if (
114+ currentStep >= TestGenerationBuildStep . FIXING_TEST_CASES &&
115+ session . buildStatus === BuildStatus . FAILURE
116+ ) {
117+ message += `${ getIconForStep ( TestGenerationBuildStep . FIXING_TEST_CASES ) } Fixed test failures\n\n`
109118 }
110119
111120 if ( currentStep > TestGenerationBuildStep . PROCESS_TEST_RESULTS ) {
0 commit comments