18549: Layout fixed, tests updated
[arvados-workbench2.git] / cypress / integration / project.spec.js
index 96e73bc127d197e81aab1d496ae342a59fe30647..0017e416c65e57627f4e0dc8c6a7d5b778428227 100644 (file)
@@ -201,8 +201,7 @@ describe('Project tests', function() {
             name: `Test root project ${Math.floor(Math.random() * 999999)}`,
             group_class: 'project',
         }).as('testProject1').then((testProject1) => {
-      
-            cy.shareWith(adminUser.token, activeUser.user.uuid, testCollection2.uuid, 'can_write');
+            cy.shareWith(adminUser.token, activeUser.user.uuid, testProject1.uuid, 'can_write');
         });
 
         cy.getAll('@testProject1').then(function([testProject1]) {
@@ -257,7 +256,7 @@ describe('Project tests', function() {
 
                     cy.get('td').contains(uuid).should('exist');
 
-                    cy.get('td').contains('Active User').should('exist');
+                    cy.get('td').contains(activeUser.user.uuid).should('exist');
                 });
         });
     });