[ARVADOS-WORKBENCH2] updated: 2.1.0-220-ge61a2240
Git user
git at public.arvados.org
Fri Mar 12 22:44:41 UTC 2021
Summary of changes:
cypress/integration/side-panel.spec.js | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
via e61a224071c6aba551e49bf078a120f29af00bb2 (commit)
from a9bd08dd21a33168b1bc95a46d16c7947a9440d8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit e61a224071c6aba551e49bf078a120f29af00bb2
Author: Ward Vandewege <ward at curii.com>
Date: Fri Mar 12 17:44:17 2021 -0500
17119: add a filter group test.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/cypress/integration/side-panel.spec.js b/cypress/integration/side-panel.spec.js
index 309037ec..e75a366e 100644
--- a/cypress/integration/side-panel.spec.js
+++ b/cypress/integration/side-panel.spec.js
@@ -36,7 +36,7 @@ describe('Side panel tests', function() {
.and('not.be.disabled');
})
- it('disables or enables the +NEW side panel button on depending on project permissions', function() {
+ it('disables or enables the +NEW side panel button depending on project permissions', function() {
cy.loginAs(activeUser);
[true, false].map(function(isWritable) {
cy.createGroup(adminUser.token, {
@@ -75,4 +75,21 @@ describe('Side panel tests', function() {
.and('be.disabled');
})
})
-})
\ No newline at end of file
+
+ it('disables the +NEW side panel button when viewing filter group', function() {
+ cy.loginAs(adminUser);
+ cy.createGroup(adminUser.token, {
+ name: `my-favorite-filter-group`,
+ group_class: 'filter',
+ }).as('myFavoriteFilterGroup').then(function (myFavoriteFilterGroup) {
+ cy.contains('Refresh').click();
+ cy.doSearch(`${myFavoriteFilterGroup.uuid}`);
+ cy.get('[data-cy=breadcrumb-last]').should('contain', 'my-favorite-filter-group');
+
+ cy.get('[data-cy=side-panel-button]')
+ .should('exist')
+ .and(`be.disabled`);
+ })
+ })
+
+})
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list