Skip to content

Commit

Permalink
add test for "view details" action from registered model list
Browse files Browse the repository at this point in the history
Signed-off-by: gitdallas <[email protected]>
  • Loading branch information
gitdallas committed Sep 4, 2024
1 parent 56af227 commit 5ac75a0
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,17 @@ describe('Model archive list', () => {
});
});

it('Opens the detail page when we select "View Details" from action menu', () => {
initIntercepts({});
registeredModelArchive.visit();
const archiveModelRow = registeredModelArchive.getRow('model 2');
archiveModelRow.findKebabAction('View details').click();
cy.location('pathname').should(
'be.equals',
'/modelRegistry/modelregistry-sample/registeredModels/2/details',
);
});

describe('Restoring archive model', () => {
it('Restore from archive models table', () => {
cy.interceptOdh(
Expand Down

0 comments on commit 5ac75a0

Please sign in to comment.