Skip to content

Commit

Permalink
Linting, linting, linting....
Browse files Browse the repository at this point in the history
  • Loading branch information
antowaddle committed Dec 18, 2024
1 parent 1ae3b35 commit a31c55e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('Regular Users can make use of the Storage Classes in the Cluster Stora
// Authentication and navigation
cy.visitWithLogin('/projects', LDAP_CONTRIBUTOR_USER);
// Open the project
cy.step(`Navigate to the Project list tab and search for ${dspName}`,);
cy.step(`Navigate to the Project list tab and search for ${dspName}`);
projectListPage.filterProjectByName(dspName);
projectListPage.findProjectLink(dspName).click();
cy.step('Navigate to the Cluster Storage tab and disable all non-default storage classes');
Expand All @@ -36,7 +36,9 @@ describe('Regular Users can make use of the Storage Classes in the Cluster Stora
// Open the Create cluster storage Modal
findAddClusterStorageButton().click();

cy.step('Checking that Storage Classes Dropdown is disabled - 🐛 RHOAIENG-16609 will fail this test in RHOAI');
cy.step(
'Checking that Storage Classes Dropdown is disabled - 🐛 RHOAIENG-16609 will fail this test in RHOAI',
);
// Check that the SC Dropdown is disabled
addClusterStorageModal.findStorageClassSelect().should('be.disabled');
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ import {
import type { DashboardConfig, NotebookControllerConfig } from '~/__tests__/cypress/cypress/types';

/**
* Validates the visibility and state of Model Serving Platform checkboxes
* Validates the visibility and state of Model Serving Platform checkboxes
* in the Cluster Settings based on the provided dashboard configuration.
*
* This function checks whether the Model Serving feature is enabled or disabled,
* and subsequently verifies the state of the Multi-Platform and Single-Platform
* checkboxes based on their respective enable/disable flags.
* and subsequently verifies the state of the Multi-Platform and Single-Platform
* checkboxes based on their respective enable/disable flags.
*
* - If Model Serving is disabled, both checkboxes should not be visible.
* - If Model Serving is enabled:
* - The Multi-Platform Checkbox will be checked if Model Mesh is enabled;
* - The Multi-Platform Checkbox will be checked if Model Mesh is enabled;
* otherwise, it will not be checked.
* - The Single-Platform Checkbox will be checked if KServe is enabled;
* - The Single-Platform Checkbox will be checked if KServe is enabled;
* otherwise, it will not be checked.
*
* @param dashboardConfig The Model Serving Platform configuration object containing
Expand Down

0 comments on commit a31c55e

Please sign in to comment.