projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19865: Adds integration test exposing the bug.
[arvados.git]
/
cypress
/
integration
/
collection.spec.js
diff --git
a/cypress/integration/collection.spec.js
b/cypress/integration/collection.spec.js
index 057df65fe85c209121428b634c68cd4d77bd4753..01d7001f2fe55ca0975578379905a012b6ffc0e1 100644
(file)
--- a/
cypress/integration/collection.spec.js
+++ b/
cypress/integration/collection.spec.js
@@
-677,9
+677,10
@@
describe('Collection panel tests', function () {
cy.get('[data-cy=form-dialog]')
.should('contain', 'Move to')
.within(() => {
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')
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();
cy.get('[data-cy=projects-tree-home-tree-picker]')
.contains(projName)
.click();