18219: Updates cypress tests.
[arvados-workbench2.git] / cypress / integration / project.spec.js
index 4d77d3a5d1b9d67f61090fdf442f40a3f5c2a1e5..3ffdcc2df2cbc796db9ea4a4314a32cbd2809560 100644 (file)
@@ -28,7 +28,7 @@ describe('Project tests', function() {
         cy.clearLocalStorage();
     });
 
-    it('adds creates a new project with properties', function() {
+    it('creates a new project with properties', function() {
         const projName = `Test project (${Math.floor(999999 * Math.random())})`;
         cy.loginAs(activeUser);
         cy.get('[data-cy=side-panel-button]').click();
@@ -200,12 +200,8 @@ describe('Project tests', function() {
             name: `Test root project ${Math.floor(Math.random() * 999999)}`,
             group_class: 'project',
         }).as('testProject1');
-        cy.createGroup(activeUser.token, {
-            name: `Test root project ${Math.floor(Math.random() * 999999)}`,
-            group_class: 'project',
-        }).as('testProject2');
 
-        cy.getAll('@testProject1', '@testProject2').then(function([testProject1, testProject2]) {
+        cy.getAll('@testProject1').then(function([testProject1]) {
             cy.loginAs(activeUser);
 
             cy.get('[data-cy=side-panel-tree]').contains(testProject1.name).click();