From 0c229aebccb57ae301f4f4357cbfbe0494697dfa Mon Sep 17 00:00:00 2001 From: Mike Turley Date: Fri, 16 Aug 2024 10:55:38 -0400 Subject: [PATCH] Fix test Signed-off-by: Mike Turley --- .../tests/mocked/modelRegistry/registerVersion.cy.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/registerVersion.cy.ts b/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/registerVersion.cy.ts index 6afbd33bd2..ce16ff1648 100644 --- a/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/registerVersion.cy.ts +++ b/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/registerVersion.cy.ts @@ -385,10 +385,7 @@ describe('Register model page with no preselected model', () => { } satisfies Partial); }); - cy.url().should( - 'include', - '/modelRegistry/modelregistry-sample/registeredModels/1/versions/6/details', - ); + cy.url().should('include', '/modelRegistry/modelregistry-sample/registeredModels/1/versions'); }); it('Disables submit until required fields are filled in URI mode', () => { @@ -443,10 +440,7 @@ describe('Register model page with no preselected model', () => { } satisfies Partial); }); - cy.url().should( - 'include', - '/modelRegistry/modelregistry-sample/registeredModels/1/versions/6/details', - ); + cy.url().should('include', '/modelRegistry/modelregistry-sample/registeredModels/1/versions/6'); }); });