21600: changed tooltip expectation Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa...
[arvados.git] / services / workbench2 / cypress / e2e / collection.cy.js
index 32349ab884a3a0739e280f087452759cb67613a2..c5edf0e4f2d64edadbcab474ed747e9d54380b48 100644 (file)
@@ -27,11 +27,6 @@ describe("Collection panel tests", function () {
         downloadsFolder = Cypress.config("downloadsFolder");
     });
 
-    beforeEach(function () {
-        cy.clearCookies();
-        cy.clearLocalStorage();
-    });
-
     it('shows the appropriate buttons in the toolbar', () => {
 
         const msButtonTooltips = [
@@ -165,8 +160,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 +203,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 +1311,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");