@@ -131,7 +131,7 @@ suite('OpenShift/Component', () => {
131131 test ( 'happy path works' , async ( ) => {
132132 const result = await Component . create ( appItem ) ;
133133
134- expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. To deploy it on cluster, perform 'Push' action .` ) ;
134+ expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. Perform actions on it from Components View .` ) ;
135135 expect ( progressFunctionStub ) . calledOnceWith (
136136 `Creating new Component '${ componentItem . getName ( ) } '` ) ;
137137 expect ( execStub ) . calledWith ( Command . createLocalComponent ( componentType . name , undefined , componentItem . getName ( ) , folder . uri . fsPath ) ) ;
@@ -270,7 +270,7 @@ suite('OpenShift/Component', () => {
270270 inputStub . resolves ( componentItem . getName ( ) ) ;
271271 quickPickStub . onSecondCall ( ) . resolves ( componentType ) ;
272272 const result = await Component . createFromRootWorkspaceFolder ( folder ) ;
273- expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. To deploy it on cluster, perform 'Push' action .` ) ;
273+ expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. Perform actions on it from Components View .` ) ;
274274 } ) ;
275275
276276 test ( 'skips component type selection if componentTypeName provided and only one type found in registries' , async ( ) => {
@@ -284,7 +284,7 @@ suite('OpenShift/Component', () => {
284284 )
285285 ] ) ;
286286 const result = await Component . createFromRootWorkspaceFolder ( folder , [ ] , undefined , 'componentType1' ) ;
287- expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. To deploy it on cluster, perform 'Push' action .` ) ;
287+ expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. Perform actions on it from Components View .` ) ;
288288 expect ( quickPickStub ) . calledOnce ;
289289 expect ( quickPickStub ) . have . not . calledWith ( { placeHolder : 'Component type' } )
290290 } ) ;
@@ -310,7 +310,7 @@ suite('OpenShift/Component', () => {
310310 componentType1 , componentType2
311311 ] ) ;
312312 const result = await Component . createFromRootWorkspaceFolder ( folder , [ ] , undefined , 'componentType1' ) ;
313- expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. To deploy it on cluster, perform 'Push' action .` ) ;
313+ expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. Perform actions on it from Components View .` ) ;
314314 expect ( quickPickStub ) . calledTwice ;
315315 expect ( quickPickStub ) . calledWith ( [ componentType1 , componentType2 ] ) ;
316316 } ) ;
@@ -328,7 +328,7 @@ suite('OpenShift/Component', () => {
328328 componentType1
329329 ] ) ;
330330 const result = await Component . createFromRootWorkspaceFolder ( folder , [ ] , undefined , 'componentType1' ) ;
331- expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. To deploy it on cluster, perform 'Push' action .` ) ;
331+ expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. Perform actions on it from Components View .` ) ;
332332 expect ( quickPickStub ) . calledTwice ;
333333 expect ( quickPickStub ) . calledWith ( [ componentType1 ] ) ;
334334 } ) ;
@@ -341,7 +341,7 @@ suite('OpenShift/Component', () => {
341341 ' name: componentName'
342342 ) ;
343343 const result = await Component . createFromRootWorkspaceFolder ( folder , [ ] , undefined , 'componentType1' ) ;
344- expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. To deploy it on cluster, perform 'Push' action .` ) ;
344+ expect ( result . toString ( ) ) . equals ( `Component '${ componentItem . getName ( ) } ' successfully created. Perform actions on it from Components View .` ) ;
345345 } ) ;
346346
347347
0 commit comments