projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '18203-Support-setting-multi-properties-at-once' into main
[arvados-workbench2.git]
/
cypress
/
integration
/
collection.spec.js
diff --git
a/cypress/integration/collection.spec.js
b/cypress/integration/collection.spec.js
index 384b789f4ee7760e8ce38b8423e24a35e5d48fe8..fd8e65b26f5f9c60cf54edc2b06ba5553f39731f 100644
(file)
--- a/
cypress/integration/collection.spec.js
+++ b/
cypress/integration/collection.spec.js
@@
-278,6
+278,13
@@
describe('Collection panel tests', function () {
.and(`${isWritable ? '' : 'not.'}contain`, 'Rename')
.and(`${isWritable ? '' : 'not.'}contain`, 'Remove');
cy.get('body').click(); // Collapse the menu
.and(`${isWritable ? '' : 'not.'}contain`, 'Rename')
.and(`${isWritable ? '' : 'not.'}contain`, 'Remove');
cy.get('body').click(); // Collapse the menu
+ // File/dir item 'more options' button
+ cy.get('[data-cy=file-item-options-btn')
+ .first()
+ .click()
+ cy.get('[data-cy=context-menu]')
+ .should(`${isWritable ? '' : 'not.'}contain`, 'Remove');
+ cy.get('body').click(); // Collapse the menu
// Hamburger 'more options' menu button
cy.get('[data-cy=collection-files-panel-options-btn]')
.click()
// Hamburger 'more options' menu button
cy.get('[data-cy=collection-files-panel-options-btn]')
.click()