@@ -405,9 +405,9 @@ describe('Model Serving Deploy Wizard', () => {
405405 modelServingWizard . findServiceNameAlert ( ) . should ( 'not.exist' ) ;
406406 modelServingWizard . findRemoveServiceAccountByIndex ( 1 ) . click ( ) ;
407407 modelServingWizard . findServiceAccountByIndex ( 0 ) . clear ( ) ;
408- modelServingWizard . findSubmitButton ( ) . should ( 'be.disabled' ) ; //TODO: Change back to findNextButton() when submit page is added
408+ modelServingWizard . findNextButton ( ) . should ( 'be.disabled' ) ;
409409 modelServingWizard . findServiceAccountByIndex ( 0 ) . clear ( ) . type ( 'new name' ) ;
410- // modelServingWizard.findNextButton().should('be.enabled').click(); //TODO: Uncomment when submit page is added
410+ modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
411411
412412 // Step 4: Summary
413413 modelServingWizard . findSubmitButton ( ) . should ( 'be.enabled' ) . click ( ) ;
@@ -682,7 +682,7 @@ describe('Model Serving Deploy Wizard', () => {
682682 modelServingWizard . findEnvVariableName ( '0' ) . clear ( ) . type ( 'valid_name' ) ;
683683 modelServingWizard . findEnvVariableValue ( '0' ) . type ( 'test-value' ) ;
684684
685- // modelServingWizard.findNextButton().should('be.enabled').click(); //TODO: Uncomment when submit page is added
685+ modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
686686
687687 // Step 4: Summary
688688
@@ -814,7 +814,7 @@ describe('Model Serving Deploy Wizard', () => {
814814 modelServingWizard . findServingRuntimeTemplateSearchSelector ( ) . click ( ) ;
815815 modelServingWizard . findGlobalScopedTemplateOption ( 'OpenVINO' ) . should ( 'exist' ) . click ( ) ;
816816 modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
817- // modelServingWizard.findNextButton().should('be.enabled').click(); //TODO: Uncomment when submit page is added
817+ modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
818818
819819 // test submitting form, an error should appear
820820 modelServingWizard . findSubmitButton ( ) . should ( 'be.enabled' ) . click ( ) ;
@@ -985,7 +985,7 @@ describe('Model Serving Deploy Wizard', () => {
985985 modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
986986
987987 // Verify submit is enabled before testing env vars
988- modelServingWizard . findSubmitButton ( ) . should ( 'be.enabled' ) ; //TODO: Change back to findNextButton() when submit page is added
988+ modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) ;
989989
990990 // Add environment variable with invalid name
991991 modelServingWizard . findEnvVariablesCheckbox ( ) . click ( ) ;
@@ -995,23 +995,23 @@ describe('Model Serving Deploy Wizard', () => {
995995 'Environment variable name must start with a letter or underscore and contain only letters, numbers, and underscores' ,
996996 ) . should ( 'be.visible' ) ;
997997 // Verify submit is disabled with invalid env var
998- modelServingWizard . findSubmitButton ( ) . should ( 'be.disabled' ) ; //TODO: Change back to findNextButton() when submit page is added
998+ modelServingWizard . findNextButton ( ) . should ( 'be.disabled' ) ;
999999
10001000 // Test invalid env var name with special characters
10011001 modelServingWizard . findEnvVariableName ( '0' ) . clear ( ) . type ( 'invalid@name' ) ;
10021002 cy . findByText (
10031003 'Environment variable name must start with a letter or underscore and contain only letters, numbers, and underscores' ,
10041004 ) . should ( 'be.visible' ) ;
10051005 // Verify submit is disabled with invalid env var
1006- modelServingWizard . findSubmitButton ( ) . should ( 'be.disabled' ) ; //TODO: Change back to findNextButton() when submit page is added
1006+ modelServingWizard . findNextButton ( ) . should ( 'be.disabled' ) ;
10071007
10081008 // Test valid env var name
10091009 modelServingWizard . findEnvVariableName ( '0' ) . clear ( ) . type ( 'VALID_NAME' ) ;
10101010 cy . findByText (
10111011 'Environment variable name must start with a letter or underscore and contain only letters, numbers, and underscores' ,
10121012 ) . should ( 'not.exist' ) ;
10131013 // Verify submit is enabled with valid env var
1014- modelServingWizard . findSubmitButton ( ) . should ( 'be.enabled' ) ; //TODO: Change back to findNextButton() when submit page is added
1014+ modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) ;
10151015 } ) ;
10161016
10171017 it ( 'Deploy OCI Model and check paste functionality' , ( ) => {
@@ -1072,7 +1072,7 @@ describe('Model Serving Deploy Wizard', () => {
10721072 modelServingWizard . findGlobalScopedTemplateOption ( 'OpenVINO' ) . should ( 'exist' ) . click ( ) ;
10731073 modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
10741074 //Step 3: Advanced Options
1075- // modelServingWizard.findNextButton().should('be.enabled').click(); //TODO: Uncomment when submit page is added
1075+ modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
10761076 //Step 4: Summary
10771077 modelServingWizard . findSubmitButton ( ) . should ( 'be.enabled' ) . click ( ) ;
10781078
@@ -1213,7 +1213,7 @@ describe('Model Serving Deploy Wizard', () => {
12131213 modelServingWizard . findGlobalScopedTemplateOption ( 'OpenVINO' ) . should ( 'exist' ) . click ( ) ;
12141214 modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
12151215 //Step 3: Advanced Options
1216- // modelServingWizard.findNextButton().should('be.enabled').click(); //TODO: Uncomment when submit page is added
1216+ modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
12171217 //Step 4: Summary
12181218 modelServingWizard . findSubmitButton ( ) . should ( 'be.enabled' ) . click ( ) ;
12191219
@@ -1362,7 +1362,9 @@ describe('Model Serving Deploy Wizard', () => {
13621362 modelServingWizardEdit . findExternalRouteCheckbox ( ) . should ( 'be.checked' ) ;
13631363 modelServingWizardEdit . findTokenAuthenticationCheckbox ( ) . click ( ) ;
13641364 modelServingWizardEdit . findServiceAccountByIndex ( 0 ) . should ( 'have.value' , 'default-name' ) ;
1365- modelServingWizardEdit . findUpdateDeploymentButton ( ) . should ( 'be.enabled' ) . click ( ) ; //TODO: Change back to findNextButton() when submit page is added
1365+ modelServingWizardEdit . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
1366+
1367+ modelServingWizardEdit . findUpdateDeploymentButton ( ) . should ( 'be.enabled' ) . click ( ) ;
13661368 } ) ;
13671369
13681370 it ( 'Verify cpu and memory request and limits values when editing KServe model' , ( ) => {
@@ -1520,7 +1522,7 @@ describe('Model Serving Deploy Wizard', () => {
15201522
15211523 // Step 3: Advanced Options
15221524 modelServingWizard . findAdvancedOptionsStep ( ) . should ( 'be.enabled' ) ;
1523- // modelServingWizard.findNextButton().should('be.enabled').click(); //TODO: Uncomment when submit page is added
1525+ modelServingWizard . findNextButton ( ) . should ( 'be.enabled' ) . click ( ) ;
15241526
15251527 // Step 4: Summary
15261528 modelServingWizard . findSubmitButton ( ) . should ( 'be.enabled' ) . click ( ) ;
0 commit comments