From f7f65f4f57d166716e26aed2967942935d6b59c2 Mon Sep 17 00:00:00 2001 From: Lisa Knox Date: Sun, 17 Sep 2023 18:19:10 -0400 Subject: [PATCH] 15768: collection spec passes Arvados-DCO-1.1-Signed-off-by: Lisa Knox --- cypress/integration/collection.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index 18e7c87e..a2e85621 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -729,7 +729,7 @@ describe("Collection panel tests", function () { }); }); - 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 @@ -772,7 +772,7 @@ describe("Collection panel tests", function () { 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") @@ -823,7 +823,7 @@ describe("Collection panel tests", function () { 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") -- 2.30.2