[arvados-workbench2] updated: 2.4.0-229-gf0925748

git repository hosting git at public.arvados.org
Tue Oct 4 15:27:41 UTC 2022


Summary of changes:
 cypress/integration/group-manage.spec.js                   | 14 +++++++-------
 src/common/frozen-resources.ts                             |  1 -
 .../context-menu/action-sets/project-action-set.ts         |  2 +-
 3 files changed, 8 insertions(+), 9 deletions(-)

       via  f092574812ee18b0454aa18095b04a32a0a222fd (commit)
      from  a8db97945dc2474759e99e588b63791a7b1ee5a9 (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 f092574812ee18b0454aa18095b04a32a0a222fd
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date:   Tue Oct 4 17:26:59 2022 +0200

    18692: Fixed context menu naming
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>

diff --git a/cypress/integration/group-manage.spec.js b/cypress/integration/group-manage.spec.js
index 96998308..ffe2c8c4 100644
--- a/cypress/integration/group-manage.spec.js
+++ b/cypress/integration/group-manage.spec.js
@@ -254,7 +254,7 @@ describe('Group manage tests', function() {
             .should('not.contain', groupName + ' (renamed)');
     });
 
-    it.only('disables group-related controls for built-in groups', function() {
+    it('disables group-related controls for built-in groups', function() {
         cy.loginAs(adminUser);
 
         ['All users', 'Anonymous users', 'System group'].forEach((builtInGroup) => {
@@ -262,20 +262,20 @@ describe('Group manage tests', function() {
             cy.get('[data-cy=groups-panel-data-explorer]').contains(builtInGroup).click();
 
             // Check group member actions
-            // cy.get('[data-cy=group-members-data-explorer]')
-            //     .within(() => {
+            cy.get('[data-cy=group-members-data-explorer]')
+                .within(() => {
                     cy.get('[data-cy=group-member-add]').should('not.exist');
                     cy.get('[data-cy=user-visible-checkbox] input').should('be.disabled');
                     cy.get('[data-cy=resource-delete-button]').should('be.disabled');
-                    // cy.get('[data-cy=edit-permission-button]').should('not.exist');
-                // });
+                    cy.get('[data-cy=edit-permission-button]').should('not.exist');
+                });
 
             // Check permissions actions
             cy.get('[data-cy=group-details-permissions-tab]').click();
-            // cy.get('[data-cy=group-permissions-data-explorer]').within(() => {
+            cy.get('[data-cy=group-permissions-data-explorer]').within(() => {
                 cy.get('[data-cy=resource-delete-button]').should('be.disabled');
                 cy.get('[data-cy=edit-permission-button]').should('not.exist');
-            // });
+            });
         });
     });
 
diff --git a/src/common/frozen-resources.ts b/src/common/frozen-resources.ts
index 7981ace0..8d227915 100644
--- a/src/common/frozen-resources.ts
+++ b/src/common/frozen-resources.ts
@@ -10,7 +10,6 @@ export const resourceIsFrozen = (resource: any, resources): boolean => {
     let ownerUuid: string | undefined = resource?.ownerUuid;
 
     while(!isFrozen && !!ownerUuid && ownerUuid.indexOf('000000000000000') === -1) {
-        console.log(isFrozen, ownerUuid, resource.uuid, resource);
         const parentResource: ProjectResource | undefined = getResource<ProjectResource>(ownerUuid)(resources);
         isFrozen = !!parentResource?.frozenByUuid;
         ownerUuid = parentResource?.ownerUuid;
diff --git a/src/views-components/context-menu/action-sets/project-action-set.ts b/src/views-components/context-menu/action-sets/project-action-set.ts
index 04edba67..8181045c 100644
--- a/src/views-components/context-menu/action-sets/project-action-set.ts
+++ b/src/views-components/context-menu/action-sets/project-action-set.ts
@@ -57,7 +57,7 @@ export const viewDetailsAction = {
 
 export const advancedAction = {
     icon: AdvancedIcon,
-    name: "Advanced",
+    name: "API Details",
     execute: (dispatch, resource) => {
         dispatch(openAdvancedTabDialog(resource.uuid));
     }

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list