});
});
- it('can search for old collection versions', function() {
+ it.only('can display path of the selected item', function() {
const colName = `Collection ${Math.floor(Math.random() * Math.floor(999999))}`;
// Creates the collection using the admin token so we can set up
cy.get('[data-cy=search-results]').contains(colName).closest('tr').click();
- cy.get('[data-cy=snackbar]').should('contain', `/ Projects / ${colName}`);
+ cy.get('[data-cy=element-path]').should('contain', `/ Projects / ${colName}`);
});
});
});
\ No newline at end of file