});
});
- it("uses the collection version browser to view a previous version", function () {
+ it.only("uses the collection version browser to view a previous version", function () {
const colName = `Test Collection ${Math.floor(Math.random() * 999999)}`;
// Creates the collection using the admin token so we can set up
cy.get("[data-cy=collection-version-browser-select-1]")
.should("contain", "1")
.and("contain", "6 B")
- .and("contain", adminUser.user.uuid);
+ .and("contain", adminUser.user.full_name);
// Version 2: 3 bytes in size (one file removed)
cy.get("[data-cy=collection-version-browser-select-2]")
.should("contain", "2")
cy.get("[data-cy=collection-version-browser-select-3]").should("contain", "3").and("contain", "3 B");
// Check context menus on version browser
- cy.get("[data-cy=collection-version-browser-select-3]").rightclick();
+ cy.get("[data-cy=collection-version-browser-select-3]").rightclick({ force: true });
cy.get("[data-cy=context-menu]")
.should("contain", "Add to favorites")
.and("contain", "Make a copy")