X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/9cd0c2757db479fb75e150d52d4871d9a88af364..3f7e1a8afad27920adf8f03ce82eeb1ae58aa84f:/cypress/integration/collection.spec.js diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index fd8e65b2..28454a90 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -374,7 +374,7 @@ describe('Collection panel tests', function () { cy.goToPath(`/collections/${this.testCollection.uuid}`); ['subdir', 'G%C3%BCnter\'s%20file', 'table%&?*2'].forEach((subdir) => { - cy.get('[data-cy=collection-files-panel]') + cy.waitForDom().get('[data-cy=collection-files-panel]') .contains('bar').rightclick(); cy.get('[data-cy=context-menu]') .contains('Rename') @@ -642,7 +642,7 @@ describe('Collection panel tests', function () { .contains(projName).and('contain', testProject.uuid); // Double check that the collection is in the project cy.goToPath(`/projects/${testProject.uuid}`); - cy.get('[data-cy=project-panel]').should('contain', collName); + cy.waitForDom().get('[data-cy=project-panel]').should('contain', collName); }); });