[arvados-workbench2] updated: 2.6.3-87-g74e6a245

git repository hosting git at public.arvados.org
Tue Aug 22 17:04:51 UTC 2023


Summary of changes:
 cypress/integration/sharing.spec.js | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

       via  74e6a2456fbff6a8e58adde0f4a3df6eb475802b (commit)
      from  2f6916cd8bbf45eaf4b35a7534c2e2b4433b6fb2 (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 74e6a2456fbff6a8e58adde0f4a3df6eb475802b
Author: Stephen Smith <stephen at curii.com>
Date:   Tue Aug 22 13:04:25 2023 -0400

    20617: Extend sharing cypress test to check search/filters
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/cypress/integration/sharing.spec.js b/cypress/integration/sharing.spec.js
index 5fbf5692..f742d090 100644
--- a/cypress/integration/sharing.spec.js
+++ b/cypress/integration/sharing.spec.js
@@ -106,6 +106,20 @@ describe('Sharing tests', function () {
 
                 cy.contains('Shared with me').click();
 
+                // Test search
+                cy.get('[data-cy=search-input] input').type('readonly');
+                cy.get('main').should('not.contain', mySharedWritableProject.name);
+                cy.get('main').should('contain', mySharedReadonlyProject.name);
+                cy.get('[data-cy=search-input] input').clear();
+
+                // Test filter
+                cy.waitForDom().get('th').contains('Type').click();
+                cy.get('div[role=presentation]').contains('Project').click();
+                cy.waitForDom().get('main table tr td').contains('Project').should('not.exist');
+                cy.get('div[role=presentation]').contains('Project').click();
+                cy.waitForDom().get('div[role=presentation] button').contains('Close').click();
+
+                // Test move to trash
                 cy.get('main').contains(mySharedWritableProject.name).rightclick();
                 cy.get('[data-cy=context-menu]').should('contain', 'Move to trash');
                 cy.get('[data-cy=context-menu]').contains('Move to trash').click();

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list