18219: Updates tests on property edition.
[arvados-workbench2.git] / cypress / integration / project.spec.js
index 9b62943813840fe87855e7dddce273df58c98aa6..3678b78a349268326fe96841c41dc453cce0d6c2 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();
@@ -42,6 +42,7 @@ describe('Project tests', function() {
 
             });
         // Key: Color (IDTAGCOLORS) - Value: Magenta (IDVALCOLORS3)
+        cy.get('[data-cy=form-dialog]').should('not.contain', 'Color: Magenta');
         cy.get('[data-cy=resource-properties-form]').within(() => {
             cy.get('[data-cy=property-field-key]').within(() => {
                 cy.get('input').type('Color');
@@ -201,7 +202,7 @@ describe('Project tests', function() {
             group_class: 'project',
         }).as('testProject1');
 
-        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();