X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/576cd73ae073187557df3239ca301c16eaca7ae9..3faec930d569af9bfceef94b2fe2c52a4aa2d904:/cypress/integration/collection.spec.js?ds=sidebyside diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index 74506aea..4a8751ef 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -628,9 +628,10 @@ describe('Collection panel tests', function () { cy.get('[data-cy=form-dialog]') .should('contain', 'Move to') .within(() => { + // must use .then to avoid selecting instead of expanding https://github.com/cypress-io/cypress/issues/5529 cy.get('[data-cy=projects-tree-home-tree-picker]') .find('i') - .click(); + .then(el => el.click()); cy.get('[data-cy=projects-tree-home-tree-picker]') .contains(projName) .click();