File tree Expand file tree Collapse file tree
packages/cypress/cypress/tests/e2e/modelCatalog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 waitForModelCatalogCards ,
88 waitForModelCatalogAfterDisable ,
99 enableModelCatalogSource ,
10+ ensureModelCatalogSourceEnabled ,
1011} from '../../../utils/oc_commands/modelCatalog' ;
1112import { retryableBefore } from '../../../utils/retryableHooks' ;
1213import type { ModelCatalogSourceTestData } from '../../../types' ;
@@ -19,6 +20,10 @@ describe('[product bug: RHOAIENG-53704] Verify Model Catalog Source Enable/Disab
1920 . fixture ( 'e2e/modelCatalog/testSourceEnableDisable.yaml' , 'utf8' )
2021 . then ( ( yamlContent : string ) => {
2122 testData = yaml . load ( yamlContent ) as ModelCatalogSourceTestData ;
23+ } )
24+ . then ( ( ) => {
25+ ensureModelCatalogSourceEnabled ( testData . redhatAiSourceId ) ;
26+ ensureModelCatalogSourceEnabled ( testData . redhatAiSourceId2 ) ;
2227 } ) ;
2328 } ) ;
2429
You can’t perform that action at this time.
0 commit comments