Skip to content

Commit e3cb9d1

Browse files
fixed test
Signed-off-by: Yulia Krimerman <juliapiterova@hotmail.com>
1 parent 0f86456 commit e3cb9d1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

clients/ui/frontend/src/__tests__/cypress/cypress/tests/mocked/modelCatalogSettings/modelCatalogSettings.cy.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,16 +205,16 @@ describe('Manage Source Page', () => {
205205

206206
it('should expand and collapse model visibility section', () => {
207207
manageSourcePage.visitAddSource();
208-
manageSourcePage.findAllowedModelsInput().should('not.be.visible');
209-
manageSourcePage.findExcludedModelsInput().should('not.be.visible');
208+
manageSourcePage.findAllowedModelsInput().should('not.exist');
209+
manageSourcePage.findExcludedModelsInput().should('not.exist');
210210

211211
manageSourcePage.toggleModelVisibility();
212-
manageSourcePage.findAllowedModelsInput().should('be.visible');
213-
manageSourcePage.findExcludedModelsInput().should('be.visible');
212+
manageSourcePage.findAllowedModelsInput().should('exist');
213+
manageSourcePage.findExcludedModelsInput().should('exist');
214214

215215
manageSourcePage.toggleModelVisibility();
216-
manageSourcePage.findAllowedModelsInput().should('not.be.visible');
217-
manageSourcePage.findExcludedModelsInput().should('not.be.visible');
216+
manageSourcePage.findAllowedModelsInput().should('not.exist');
217+
manageSourcePage.findExcludedModelsInput().should('not.exist');
218218
});
219219

220220
it('should allow entering filter values', () => {

0 commit comments

Comments
 (0)