20031: Try to improve tests
[arvados-workbench2.git] / 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();
                 });