@@ -384,6 +384,15 @@ describe('Model Serving Deploy Wizard', () => {
384384 // Step 3: Advanced Options
385385 // Model access & Token authentication
386386 modelServingWizard . findAdvancedOptionsStep ( ) . should ( 'be.enabled' ) ;
387+ // AI Asset
388+ modelServingWizard . findSaveAiAssetCheckbox ( ) . should ( 'exist' ) ;
389+ modelServingWizard . findSaveAiAssetCheckbox ( ) . should ( 'not.be.checked' ) ;
390+ modelServingWizard . findUseCaseInput ( ) . should ( 'not.exist' ) ;
391+ modelServingWizard . findSaveAiAssetCheckbox ( ) . click ( ) ;
392+ modelServingWizard . findUseCaseInput ( ) . should ( 'exist' ) ;
393+ modelServingWizard . findUseCaseInput ( ) . should ( 'be.enabled' ) ;
394+ modelServingWizard . findUseCaseInput ( ) . type ( 'test' ) ;
395+
387396 modelServingWizard . findExternalRouteCheckbox ( ) . click ( ) ;
388397 modelServingWizard . findTokenAuthenticationCheckbox ( ) . should ( 'be.checked' ) ;
389398 modelServingWizard . findTokenAuthenticationCheckbox ( ) . click ( ) ;
@@ -414,6 +423,7 @@ describe('Model Serving Deploy Wizard', () => {
414423 namespace : 'test-project' ,
415424 labels : {
416425 'opendatahub.io/dashboard' : 'true' ,
426+ 'opendatahub.io/genai-asset' : 'true' ,
417427 'networking.kserve.io/visibility' : 'exposed' ,
418428 } ,
419429 annotations : {
@@ -423,6 +433,7 @@ describe('Model Serving Deploy Wizard', () => {
423433 'opendatahub.io/hardware-profile-name' : 'small-profile' ,
424434 'opendatahub.io/model-type' : 'generative' ,
425435 'security.opendatahub.io/enable-auth' : 'true' ,
436+ 'opendatahub.io/genai-use-case' : 'test' ,
426437 } ,
427438 } ,
428439 spec : {
@@ -664,6 +675,9 @@ describe('Model Serving Deploy Wizard', () => {
664675 // Model access & Token authentication
665676 modelServingWizard . findAdvancedOptionsStep ( ) . should ( 'be.enabled' ) ;
666677
678+ modelServingWizard . findSaveAiAssetCheckbox ( ) . should ( 'not.exist' ) ;
679+ modelServingWizard . findUseCaseInput ( ) . should ( 'not.exist' ) ;
680+
667681 modelServingWizard . findExternalRouteCheckbox ( ) . click ( ) ;
668682 modelServingWizard . findTokenAuthenticationCheckbox ( ) . should ( 'be.checked' ) ;
669683 modelServingWizard . findTokenAuthenticationCheckbox ( ) . click ( ) ;
0 commit comments