[arvados-workbench2] updated: 2.5.0-4-g92e3372a

git repository hosting git at public.arvados.org
Mon Jan 9 22:33:15 UTC 2023


Summary of changes:
 cypress/integration/group-manage.spec.js | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

       via  92e3372adb6408ace8fac8f3c78cdc1e20f4b26b (commit)
      from  78aad86df4f113422f97632dd81a3a192a1a30ca (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 92e3372adb6408ace8fac8f3c78cdc1e20f4b26b
Author: Stephen Smith <stephen at curii.com>
Date:   Mon Jan 9 17:33:01 2023 -0500

    15557: Fix group manage tests
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/cypress/integration/group-manage.spec.js b/cypress/integration/group-manage.spec.js
index ffe2c8c4..38301dd4 100644
--- a/cypress/integration/group-manage.spec.js
+++ b/cypress/integration/group-manage.spec.js
@@ -70,6 +70,13 @@ describe('Group manage tests', function() {
                 cy.get('[data-cy=invite-people-field] input').type("other");
             });
         cy.get('[role=tooltip]').click();
+        // Add admin to the group
+        cy.get('.sharing-dialog')
+            .should('contain', 'Sharing settings')
+            .within(() => {
+                cy.get('[data-cy=invite-people-field] input').type("admin");
+            });
+        cy.get('[role=tooltip]').click();
         cy.get('.sharing-dialog').contains('Save').click();
         cy.get('.sharing-dialog').contains('Close').click();
 
@@ -109,6 +116,27 @@ describe('Group manage tests', function() {
             .within(() => {
                 cy.contains('Write');
             });
+
+        // Change admin to manage
+        cy.get('[data-cy=group-members-data-explorer]')
+            .contains(adminUser.user.full_name)
+            .parents('tr')
+            .within(() => {
+                cy.contains('Read')
+                    .parents('td')
+                    .within(() => {
+                        cy.get('button').click();
+                    });
+            });
+        cy.get('[data-cy=context-menu]')
+            .contains('Manage')
+            .click();
+        cy.get('[data-cy=group-members-data-explorer]')
+            .contains(adminUser.user.full_name)
+            .parents('tr')
+            .within(() => {
+                cy.contains('Manage');
+            });
     });
 
     it('can unhide and re-hide users', function() {

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list