From a1dcb3526efe23e2611def05d8858ddc601fa4ee Mon Sep 17 00:00:00 2001 From: Fede Alonso Date: Fri, 20 Dec 2024 11:00:06 +0100 Subject: [PATCH] workbenches --- .../workbenches/workbenches.cy.ts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/frontend/src/__tests__/cypress/cypress/tests/e2e/dataScienceProjects/workbenches/workbenches.cy.ts b/frontend/src/__tests__/cypress/cypress/tests/e2e/dataScienceProjects/workbenches/workbenches.cy.ts index 2ba00f9d7f..4a7928e1f5 100644 --- a/frontend/src/__tests__/cypress/cypress/tests/e2e/dataScienceProjects/workbenches/workbenches.cy.ts +++ b/frontend/src/__tests__/cypress/cypress/tests/e2e/dataScienceProjects/workbenches/workbenches.cy.ts @@ -13,7 +13,6 @@ import { deleteOpenShiftProject } from '~/__tests__/cypress/cypress/utils/oc_com import { createPersistentVolumeClaim } from '~/__tests__/cypress/cypress/utils/oc_commands/presistentVolumeClaim'; describe('Workbench and PVSs tests', () => { - // let testData: PVCReplacements; let projectName: string; let PVCName: string; let PVCDisplayName: string; @@ -48,14 +47,6 @@ describe('Workbench and PVSs tests', () => { }); }); - after(() => { - // Delete provisioned Project - if (projectName) { - cy.log(`Deleting Project ${projectName} after the test has finished.`); - deleteOpenShiftProject(projectName); - } - }); - it('Verify users can create a workbench and connect an existent PersistentVolume', () => { const workbenchName = projectName.replace('dsp-', ''); @@ -72,7 +63,7 @@ describe('Workbench and PVSs tests', () => { cy.step(`Create Workbench ${projectName} using storage ${PVCDisplayName}`); workbenchPage.findCreateButton().click(); createSpawnerPage.getNameInput().fill(workbenchName); - createSpawnerPage.findNotebookImage('jupyter-minimal-notebook').click(); + createSpawnerPage.findNotebookImage('code-server-notebook').click(); createSpawnerPage.findAttachExistingStorageButton().click(); attachExistingStorageModal.selectExistingPersistentStorage(PVCDisplayName); attachExistingStorageModal.findStandardPathInput().fill(workbenchName); @@ -82,7 +73,7 @@ describe('Workbench and PVSs tests', () => { cy.step(`Wait for Workbench ${workbenchName} to display a "Running" status`); const notebookRow = workbenchPage.getNotebookRow(workbenchName); notebookRow.expectStatusLabelToBe('Running', 120000); - notebookRow.shouldHaveNotebookImageName('Minimal Python'); + notebookRow.shouldHaveNotebookImageName('code-server'); notebookRow.shouldHaveContainerSize('Small'); cy.step(`Check the cluster storage ${PVCDisplayName} is now connected to ${workbenchName}`);