X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/a672dd5efb4c8ef394f61a7e7a5e513f80bf1427..5a2f4597393f94b9fa7984f4445d4b599c139f27:/cypress/integration/project.spec.js diff --git a/cypress/integration/project.spec.js b/cypress/integration/project.spec.js index 0ad8da56..26b4a150 100644 --- a/cypress/integration/project.spec.js +++ b/cypress/integration/project.spec.js @@ -338,7 +338,7 @@ describe('Project tests', function() { }); }); - it('should not be able to froze not owned project', () => { + it('should be able to froze not owned project', () => { cy.getAll('@adminProject').then(([adminProject]) => { cy.loginAs(activeUser); @@ -346,11 +346,7 @@ describe('Project tests', function() { cy.get('main').contains(adminProject.name).rightclick(); - cy.get('[data-cy=context-menu]').contains('Freeze').click(); - - cy.get('main').contains(adminProject.name).rightclick(); - - cy.get('[data-cy=context-menu]').contains('Freeze').should('exist'); + cy.get('[data-cy=context-menu]').contains('Freeze').should('not.exist'); }); });