Skip to content

Commit

Permalink
CIV-7513 Enable sdo e2e tests on master (#2330)
Browse files Browse the repository at this point in the history
* Update 1v2CreateClaim_DiffSol_test.js

* Update 1v2CreateClaim-LRspec_DiffSol_test.js
  • Loading branch information
mounikahmcts authored Mar 8, 2023
1 parent 2e8102c commit e9c4f43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions e2e/tests/ui_tests/damages/1v2CreateClaim_DiffSol_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,10 @@ Scenario('Add case flags', async ({I}) => {
});

Scenario('Judge triggers SDO', async ({I}) => {
if (['preview', 'demo'].includes(config.runningEnv)) {
await I.login(config.judgeUserWithRegionId1);
await I.amOnPage(config.url.manageCase + '/cases/case-details/' + caseId());
await I.waitForText('Summary');
await I.initiateSDO('yes', 'yes', null, null);
}
await I.login(config.judgeUserWithRegionId1);
await I.amOnPage(config.url.manageCase + '/cases/case-details/' + caseId());
await I.waitForText('Summary');
await I.initiateSDO('yes', 'yes', null, null);
}).retry(3);

AfterSuite(async () => {
Expand Down
10 changes: 4 additions & 6 deletions e2e/tests/ui_tests/lrspec/1v2CreateClaim-LRspec_DiffSol_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,10 @@ Scenario('Add case flags', async ({LRspec}) => {
});

Scenario('Judge triggers SDO', async ({LRspec}) => {
if (['preview', 'demo'].includes(config.runningEnv)) {
await LRspec.login(config.judgeUserWithRegionId1);
await LRspec.amOnPage(config.url.manageCase + '/cases/case-details/' + caseId());
await LRspec.waitForText('Summary');
await LRspec.initiateSDO('yes', 'yes', null, null);
}
await LRspec.login(config.judgeUserWithRegionId1);
await LRspec.amOnPage(config.url.manageCase + '/cases/case-details/' + caseId());
await LRspec.waitForText('Summary');
await LRspec.initiateSDO('yes', 'yes', null, null);
}).retry(3);

// ToDo: Refactor to trigger create case flags event
Expand Down

0 comments on commit e9c4f43

Please sign in to comment.