[ARVADOS-WORKBENCH2] updated: 2.3.0-152-gc797ff39

Git user git at public.arvados.org
Wed Feb 2 23:25:49 UTC 2022


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

       via  c797ff39572137b5552f76f29d39b94c7554b1a0 (commit)
      from  9cc4ce49c735ca76a5aaab30bf62a4e861bda426 (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 c797ff39572137b5552f76f29d39b94c7554b1a0
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date:   Thu Feb 3 00:24:19 2022 +0100

    18594: Added cypress test to show that username in advanced metadata is loaded
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>

diff --git a/cypress/integration/project.spec.js b/cypress/integration/project.spec.js
index 6b87a3c2..f369330e 100644
--- a/cypress/integration/project.spec.js
+++ b/cypress/integration/project.spec.js
@@ -214,4 +214,31 @@ describe('Project tests', function() {
             cy.get('[data-cy=search-input] input').should('not.have.value', 'test123');
         });
     });
+
+    it('opens advanced popup for project with username', () => {
+        const projectName = `Test root project ${Math.floor(Math.random() * 999999)}`;
+
+        cy.createProject({
+            owningUser: adminUser,
+            targetUser: activeUser,
+            projectName,
+            canWrite: true,
+            addToFavorites: true
+        }).as('mySharedProject');
+
+        cy.getAll('@mySharedProject')
+            .then(function ([mySharedProject]) {
+                cy.loginAs(activeUser);
+                
+                cy.get('[data-cy=side-panel-tree]').contains('Shared with me').click();
+
+                cy.get('main').contains(projectName).rightclick();
+
+                cy.get('[data-cy=context-menu]').contains('Advanced').click();
+
+                cy.get('[role=tablist]').contains('METADATA').click();
+
+                cy.get('td').contains('User: Active User').should('exist');
+        });
+    });
 });
\ No newline at end of file

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list