diff --git a/.github/workflows/client-integration.yml b/.github/workflows/client-integration.yml index 9deec84c728..5c7bfde4f44 100644 --- a/.github/workflows/client-integration.yml +++ b/.github/workflows/client-integration.yml @@ -11,7 +11,9 @@ jobs: fail-fast: false matrix: ci_node_total: [12] - ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + # ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + ci_node_index: [9] + env: CI_NODE_TOTAL: ${{ matrix.ci_node_total }} CI_NODE_INDEX: ${{ matrix.ci_node_index }} diff --git a/web-client/integration-tests/judgeActivityReportJourneyTrialSessions.test.ts b/web-client/integration-tests/judgeActivityReportJourneyTrialSessions.test.ts index 0575ca1e8fa..8e14b117e54 100644 --- a/web-client/integration-tests/judgeActivityReportJourneyTrialSessions.test.ts +++ b/web-client/integration-tests/judgeActivityReportJourneyTrialSessions.test.ts @@ -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, 'judgecolvin@example.com'); // viewJudgeActivityReportResults(cerebralTest, { judgeName: 'All Judges' }); - cerebralTest.createdTrialSessions = []; - cerebralTest.createdCases = []; - loginAs(cerebralTest, 'docketclerk@example.com'); 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); + }); });