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();
});
// 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');
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();