Skip to content

Commit

Permalink
Merge pull request #2973 from NationalSecurityAgency/t#2971/oauth_ci_…
Browse files Browse the repository at this point in the history
…failures

#2971 - fixing oauth CI test failures
  • Loading branch information
sudo-may authored Nov 13, 2024
2 parents b46a5b3 + f7444a3 commit a035652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/cypress/e2e/projects_admin_management_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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' }],
Expand Down

0 comments on commit a035652

Please # to comment.