21461: Fixes collection's upload test.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Thu, 22 Feb 2024 21:45:11 +0000 (18:45 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Thu, 22 Feb 2024 21:45:11 +0000 (18:45 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

services/workbench2/cypress/e2e/collection.cy.js

index 32349ab884a3a0739e280f087452759cb67613a2..f4ffaebf5e7ab05f0a2d830f02f6863df8c831ac 100644 (file)
@@ -165,8 +165,6 @@ describe("Collection panel tests", function () {
         cy.get("[data-cy=form-dialog]").should("exist").and("contain", "Collection with the same name already exists");
     });
 
-    
-
     it("uses the property editor (from edit dialog) with vocabulary terms", function () {
         cy.createCollection(adminUser.token, {
             name: `Test collection ${Math.floor(Math.random() * 999999)}`,
@@ -210,8 +208,6 @@ describe("Collection panel tests", function () {
             });
     });
 
-    
-
     it("uses the editor (from details panel) with vocabulary terms", function () {
         cy.createCollection(adminUser.token, {
             name: `Test collection ${Math.floor(Math.random() * 999999)}`,
@@ -1320,8 +1316,7 @@ describe("Collection panel tests", function () {
 
                     cy.get("[data-cy=form-submit-btn]").click();
 
-                    cy.get("button[aria-label=Remove]").should("exist");
-                    cy.get("button[aria-label=Remove]").click({ multiple: true, force: true });
+                    cy.get("button[aria-label=Remove]").should("exist").click({ multiple: true});
 
                     cy.get("[data-cy=form-submit-btn]").should("not.exist");