use a1 automated test users

This commit is contained in:
burnettk 2023-03-06 21:53:00 -05:00
parent c329a69602
commit 285b128879
1 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ const approveWithUser = (
describe('pp1', () => { describe('pp1', () => {
it('can run PP1', () => { it('can run PP1', () => {
cy.login('core5.contributor', 'core5.contributor'); cy.login('core-a1.contributor', 'core-a1.contributor');
cy.visit('/'); cy.visit('/');
cy.contains('Start New +').click(); cy.contains('Start New +').click();
cy.contains('Raise New Demand Request'); cy.contains('Raise New Demand Request');
@ -95,14 +95,14 @@ describe('pp1', () => {
processInstanceId, processInstanceId,
'Task: Reminder: Request Additional Budget' 'Task: Reminder: Request Additional Budget'
); );
approveWithUser('ppg.ba.sme', processInstanceId); approveWithUser('ppg.ba-a1.sme', processInstanceId);
approveWithUser('security.sme', processInstanceId); approveWithUser('security-a1.sme', processInstanceId);
approveWithUser( approveWithUser(
'infra.sme', 'infra-a1.sme',
processInstanceId, processInstanceId,
'Task: Update Application Landscape' 'Task: Update Application Landscape'
); );
approveWithUser('legal.sme', processInstanceId); approveWithUser('legal-a1.sme', processInstanceId);
}); });
}); });
}); });