Skip to content

Commit 45e3e16

Browse files
committed
rebase and test fixes
1 parent 37044cf commit 45e3e16

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

packages/cypress/cypress/support/commands/odh.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,11 +1166,6 @@ declare global {
11661166
type: 'GET /maas/api/v1/subscriptions',
11671167
response: { data: UserSubscription[] },
11681168
) => Cypress.Chainable<null>) &
1169-
((
1170-
type: 'GET /api/secrets/:name',
1171-
options: { path: { name: string } },
1172-
response: OdhResponse<SecretKind>,
1173-
) => Cypress.Chainable<null>) &
11741169
((
11751170
type: 'POST /maas/api/v1/maasmodel',
11761171
response: OdhResponse<MaaSModelRef>,

packages/cypress/cypress/tests/mocked/modelsAsAService/maasDeploymentWizard.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ describe('MaaS Deployment Wizard', () => {
361361
cy.wait('@createMaaSModelRefDryRun');
362362
// Wizard stayed open and shows the error
363363
modelServingWizard.findErrorMessageAlert().should('be.visible').contains('Error');
364-
// no LLMInferenceService should be created
365-
cy.get('@createLLMInferenceService.all').should('have.length', 0);
364+
// no LLMInferenceService should be created but the LLMInferenceService dry run should have been called
365+
cy.get('@createLLMInferenceService.all').should('have.length', 1);
366366
});
367367
});

0 commit comments

Comments
 (0)