From 160074ea7d482f01ac7f7ff31a5a9e076fe5420d Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Mon, 20 Dec 2021 17:08:38 -0300 Subject: [PATCH] 18219: Fixes group management tests. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- cypress/integration/group-manage.spec.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/cypress/integration/group-manage.spec.js b/cypress/integration/group-manage.spec.js index c98c2201..5da18687 100644 --- a/cypress/integration/group-manage.spec.js +++ b/cypress/integration/group-manage.spec.js @@ -36,11 +36,6 @@ describe('Group manage tests', function() { ); }); - beforeEach(function() { - cy.clearCookies(); - cy.clearLocalStorage(); - }); - it('creates a new group', function() { cy.loginAs(activeUser); @@ -57,7 +52,7 @@ describe('Group manage tests', function() { }); cy.get('[role=tooltip]').click(); cy.get('[data-cy=form-dialog] button[type=submit]').click(); - + // Check that the group was created cy.get('[data-cy=groups-panel-data-explorer]').contains(groupName).click(); cy.get('[data-cy=group-members-data-explorer]').contains(activeUser.user.full_name); @@ -230,7 +225,7 @@ describe('Group manage tests', function() { .should('contain', 'Edit Group') .within(() => { cy.get('input[name=name]').clear().type(groupName + ' (renamed)'); - cy.get('button[type=submit]').click(); + cy.get('button').contains('Save').click(); }); // Check that the group was renamed -- 2.30.2