[arvados] updated: 2.7.0-6569-gbd1838482a

git repository hosting git at public.arvados.org
Wed Apr 24 15:48:49 UTC 2024


Summary of changes:
 services/workbench2/cypress/e2e/collection.cy.js                    | 2 +-
 services/workbench2/src/views/collection-panel/collection-panel.tsx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

       via  bd1838482a20ce4c59f6993f5a87ab4c0c8e2c25 (commit)
      from  758b90d96580534a8d1ac16766bf097df4943757 (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 bd1838482a20ce4c59f6993f5a87ab4c0c8e2c25
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Wed Apr 24 11:48:43 2024 -0400

    21224: fixed flaky collectioons test Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/cypress/e2e/collection.cy.js b/services/workbench2/cypress/e2e/collection.cy.js
index 20ecf11c09..ed665e7f5a 100644
--- a/services/workbench2/cypress/e2e/collection.cy.js
+++ b/services/workbench2/cypress/e2e/collection.cy.js
@@ -203,7 +203,7 @@ describe("Collection panel tests", function () {
             });
     });
 
-    it("uses the editor (from details panel) with vocabulary terms", function () {
+    it.only("uses the editor (from details panel) with vocabulary terms", function () {
         cy.createCollection(adminUser.token, {
             name: `Test collection ${Math.floor(Math.random() * 999999)}`,
             owner_uuid: activeUser.user.uuid,
diff --git a/services/workbench2/src/views/collection-panel/collection-panel.tsx b/services/workbench2/src/views/collection-panel/collection-panel.tsx
index 28983457e6..2de273c447 100644
--- a/services/workbench2/src/views/collection-panel/collection-panel.tsx
+++ b/services/workbench2/src/views/collection-panel/collection-panel.tsx
@@ -360,7 +360,7 @@ export const CollectionDetailsAttributes = (props: CollectionDetailsProps) => {
         <Grid item xs={12} md={12}>
             <DetailsAttribute classLabel={classes.label} classValue={classes.value}
                 label='Properties' />
-            {Object.keys(item.properties).length > 0
+            {item.properties && Object.keys(item.properties).length > 0
                 ? Object.keys(item.properties).map(k =>
                     Array.isArray(item.properties[k])
                         ? item.properties[k].map((v: string) =>

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list