15768: collection spec passes Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox...
authorLisa Knox <lisaknox83@gmail.com>
Sun, 17 Sep 2023 22:19:10 +0000 (18:19 -0400)
committerLisa Knox <lisaknox83@gmail.com>
Sun, 17 Sep 2023 22:19:10 +0000 (18:19 -0400)
cypress/integration/collection.spec.js

index 18e7c87eec74e04070f6cdbc6fa61f3f67df1a73..a2e85621f1d5dad90a6962f2f5e31412600d8307 100644 (file)
@@ -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")