20031: Fix move to separate collection test, requires selecting multiple files
authorStephen Smith <stephen@curii.com>
Wed, 24 May 2023 00:13:14 +0000 (20:13 -0400)
committerStephen Smith <stephen@curii.com>
Wed, 24 May 2023 00:13:14 +0000 (20:13 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

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();