From 1cafc5dab179a3518160da7c6b50141aba99ca84 Mon Sep 17 00:00:00 2001 From: Tomer Figenblat Date: Tue, 8 Oct 2024 19:31:15 -0400 Subject: [PATCH] test: cleanups Signed-off-by: Tomer Figenblat --- .../tests/mocked/modelServing/modelServingNim.cy.ts | 8 -------- frontend/src/__tests__/cypress/cypress/utils/nimUtils.ts | 4 ---- 2 files changed, 12 deletions(-) diff --git a/frontend/src/__tests__/cypress/cypress/tests/mocked/modelServing/modelServingNim.cy.ts b/frontend/src/__tests__/cypress/cypress/tests/mocked/modelServing/modelServingNim.cy.ts index ccc0d66780..62933c8a8c 100644 --- a/frontend/src/__tests__/cypress/cypress/tests/mocked/modelServing/modelServingNim.cy.ts +++ b/frontend/src/__tests__/cypress/cypress/tests/mocked/modelServing/modelServingNim.cy.ts @@ -38,14 +38,6 @@ describe('NIM Models Deployments', () => { .getInferenceServiceRow('Test Name') .findAPIProtocol() .should('have.text', 'REST'); - - // Validate Internal Service tooltip and close it - modelServingSection.getInferenceServiceRow('Test Name').findInternalServiceButton().click(); - modelServingSection - .getInferenceServiceRow('Test Name') - .findInternalServicePopover() - .should('contain.text', 'Internal Service can be accessed inside the cluster') - .click(); }); it('should only be allowed to be deleted, no edit', () => { diff --git a/frontend/src/__tests__/cypress/cypress/utils/nimUtils.ts b/frontend/src/__tests__/cypress/cypress/utils/nimUtils.ts index 695eb5b03c..271b7c9d10 100644 --- a/frontend/src/__tests__/cypress/cypress/utils/nimUtils.ts +++ b/frontend/src/__tests__/cypress/cypress/utils/nimUtils.ts @@ -39,10 +39,6 @@ export function findNimModelServingPlatformCard(): Cypress.Chainable { return cy.findByTestId('nvidia-nim-model-serving-platform-card'); } -export function findServingPlatformLabel(): Cypress.Chainable { - return cy.findByTestId('serving-platform-label'); -} - export const modalDialogTitle = 'Deploy model with NVIDIA NIM'; export function validateNvidiaNimModel(