Skip to content

Commit

Permalink
Update frontend/src/__tests__/cypress/cypress/tests/mocked/modelServi…
Browse files Browse the repository at this point in the history
…ng/modelServingNim.cy.ts

Co-authored-by: Andrew Ballantyne <8126518+andrewballantyne@users.noreply.github.com>
  • Loading branch information
TomerFi and andrewballantyne authored Oct 30, 2024
1 parent 80af75e commit db79682
Showing 1 changed file with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,6 @@ describe('NIM Models Deployments', () => {
cy.interceptK8sList(ServingRuntimeModel, mockK8sResourceList([mockNimServingRuntime()]));

modelServingGlobal.visit('test-project');
modelServingGlobal.getModelRow('Test Name').get('button[aria-label="Kebab toggle"]').click();

modelServingGlobal
.getModelRow('Test Name')
.get('button[role="menuitem"]')
.should('have.length', 1);
modelServingGlobal
.getModelRow('Test Name')
.get('button[role="menuitem"]')
.contains('Delete')
.should('exist');
});
modelServingGlobal.getModelRow('Test Name').findKebabAction('Edit').should('not.exist');
modelServingGlobal.getModelRow('Test Name').findKebabAction('Delete').should('exist');
});

0 comments on commit db79682

Please sign in to comment.