diff --git a/e2e-tests/cypress/e2e/projects_admin_management_spec.js b/e2e-tests/cypress/e2e/projects_admin_management_spec.js index 76ae29caa..a4b33de37 100644 --- a/e2e-tests/cypress/e2e/projects_admin_management_spec.js +++ b/e2e-tests/cypress/e2e/projects_admin_management_spec.js @@ -463,7 +463,7 @@ describe('Projects Admin Management Tests', () => { cy.wait('@loadAdminGroupsForProject'); cy.wait('@loadCurrentUsersAdminGroups'); - const expectedUserName = Cypress.env('oauthMode') ? 'foo bar' : 'skills@'; + const expectedUserName = Cypress.env('oauthMode') ? 'foo' : 'skills@'; cy.validateTable(tableSelector, [ [{ colIndex: 1, value: expectedUserName }, { colIndex: 2, value: 'Administrator' }], ], 5, true, null, false); @@ -535,7 +535,7 @@ describe('Projects Admin Management Tests', () => { cy.wait('@loadAdminGroupsForProject'); cy.wait('@loadCurrentUsersAdminGroups'); - const expectedUserName = Cypress.env('oauthMode') ? 'foo bar' : 'skills@'; + const expectedUserName = Cypress.env('oauthMode') ? 'foo' : 'skills@'; cy.get(`${tableSelector} thead th`).contains('Role').click(); cy.validateTable(tableSelector, [ [{ colIndex: 1, value: expectedUserName }, { colIndex: 2, value: 'Administrator' }],