20031: Fix move to separate collection test, requires selecting multiple files
[arvados-workbench2.git] / cypress / integration / collection.spec.js
index c53ff3929d442fee7a64e5092dcf337310916e2f..4d3f95e2adfebcaae999ecc70768fa630f7bbaa6 100644 (file)
@@ -990,7 +990,7 @@ describe('Collection panel tests', function () {
                 cy.goToPath(`/collections/${sourceCollection.uuid}`);
 
                 cy.get('[data-cy=collection-files-panel]').within(() => {
-                    cy.get('input[type=checkbox]').first().click();
+                    cy.get('input[type=checkbox]').click({multiple: true});
                 });
 
                 cy.get('[data-cy=collection-files-panel-options-btn]').click();
@@ -1094,7 +1094,7 @@ describe('Collection panel tests', function () {
                 cy.goToPath(`/collections/${sourceCollection.uuid}`);
 
                 cy.get('[data-cy=collection-files-panel]').within(() => {
-                    cy.get('input[type=checkbox]').first().click();
+                    cy.get('input[type=checkbox]').click({multiple: true});
                 });
 
                 cy.get('[data-cy=collection-files-panel-options-btn]').click();