X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/160074ea7d482f01ac7f7ff31a5a9e076fe5420d..54805dd83a984d4e34bb35146d2505bac12bc1d0:/cypress/integration/group-manage.spec.js diff --git a/cypress/integration/group-manage.spec.js b/cypress/integration/group-manage.spec.js index 5da18687..ffe2c8c4 100644 --- a/cypress/integration/group-manage.spec.js +++ b/cypress/integration/group-manage.spec.js @@ -45,13 +45,15 @@ describe('Group manage tests', function() { // Create new group cy.get('[data-cy=groups-panel-new-group]').click(); cy.get('[data-cy=form-dialog]') - .should('contain', 'Create Group') + .should('contain', 'New Group') .within(() => { cy.get('input[name=name]').type(groupName); cy.get('[data-cy=users-field] input').type("three"); }); cy.get('[role=tooltip]').click(); - cy.get('[data-cy=form-dialog] button[type=submit]').click(); + cy.get('[data-cy=form-dialog]').within(() => { + cy.get('[data-cy=form-submit-btn]').click(); + }) // Check that the group was created cy.get('[data-cy=groups-panel-data-explorer]').contains(groupName).click(); @@ -69,6 +71,7 @@ describe('Group manage tests', function() { }); cy.get('[role=tooltip]').click(); cy.get('.sharing-dialog').contains('Save').click(); + cy.get('.sharing-dialog').contains('Close').click(); // Check that both users are present with appropriate permissions cy.get('[data-cy=group-members-data-explorer]')