20031: Try to improve tests
authorStephen Smith <stephen@curii.com>
Wed, 24 May 2023 15:46:23 +0000 (11:46 -0400)
committerStephen Smith <stephen@curii.com>
Wed, 24 May 2023 15:46:23 +0000 (11:46 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

cypress/integration/collection.spec.js

index 3a1e9da509344010abc8926ce993171716108c4a..ff5e4dbd2e370ec7cb4103f453ccc156ba87c19f 100644 (file)
@@ -990,7 +990,7 @@ describe('Collection panel tests', function () {
                 cy.goToPath(`/collections/${sourceCollection.uuid}`);
 
                 // Select both files
-                cy.get('[data-cy=collection-files-panel]').within(() => {
+                cy.waitForDom().get('[data-cy=collection-files-panel]').within(() => {
                     cy.get('input[type=checkbox]').first().click();
                     cy.get('input[type=checkbox]').last().click();
                 });