forked from ustaxcourt/ef-cms
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
9998 - modified ci_node_index to run only test for specific test
- Loading branch information
1 parent
c2f4168
commit 4f6c11a
Showing
2 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,8 @@ describe('Judge activity report journey', () => { | |
}; | ||
|
||
const cerebralTest = setupTest(); | ||
|
||
cerebralTest.createdTrialSessions = []; | ||
cerebralTest.createdCases = []; | ||
afterAll(() => { | ||
cerebralTest.closeSocket(); | ||
}); | ||
|
@@ -152,13 +153,10 @@ describe('Judge activity report journey', () => { | |
// loginAs(cerebralTest, '[email protected]'); | ||
// viewJudgeActivityReportResults(cerebralTest, { judgeName: 'All Judges' }); | ||
|
||
cerebralTest.createdTrialSessions = []; | ||
cerebralTest.createdCases = []; | ||
|
||
loginAs(cerebralTest, '[email protected]'); | ||
docketClerkCreatesATrialSession(cerebralTest, overrides1); | ||
docketClerkViewsTrialSessionList(cerebralTest); | ||
docketClerkViewsNewTrialSession(cerebralTest); | ||
docketClerkViewsNewTrialSession(cerebralTest, false); | ||
docketClerkCreatesATrialSession(cerebralTest, overrides2); | ||
docketClerkViewsTrialSessionList(cerebralTest); | ||
docketClerkViewsNewTrialSession(cerebralTest); | ||
|
@@ -176,8 +174,10 @@ describe('Judge activity report journey', () => { | |
docketClerkAddsCaseToHearing(cerebralTest, 'Test hearing note one.'); | ||
docketClerkViewsNewTrialSession(cerebralTest, true, 'Test hearing note one.'); | ||
|
||
// it('should increase the trial session count for all judges', () => { | ||
// const trialSessionsHeldAfter = cerebralTest.trialSessionsHeldTotal; | ||
// expect(trialSessionsHeldAfter).toEqual(trialSessionsHeldBefore + 2); | ||
// }); | ||
it('should increase the trial session count for all judges', () => { | ||
console.log('trialsessions number', cerebralTest.trialSessionsHeldTotal); | ||
|
||
// const trialSessionsHeldAfter = cerebralTest.trialSessionsHeldTotal; | ||
// expect(trialSessionsHeldAfter).toEqual(trialSessionsHeldBefore + 2); | ||
}); | ||
}); |