Skip to content

Commit

Permalink
10293: update integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
akuny committed Dec 10, 2024
1 parent ed56c97 commit df1d737
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { advancedDocumentSearchHelper as advancedDocumentSearchComputed } from '../src/presenter/computeds/AdvancedSearch/advancedDocumentSearchHelper';
import { caseDeadlineReportHelper as caseDeadlineReportComputed } from '../src/presenter/computeds/caseDeadlineReportHelper';
import { caseInventoryReportHelper as caseInventoryReportComputed } from '../src/presenter/computeds/caseInventoryReportHelper';
import { formattedPendingItemsHelper as formattedPendingItemsComputed } from '../src/presenter/computeds/formattedPendingItems';
import { loginAs, setupTest } from './helpers';
import { messageModalHelper as messageModalHelperComputed } from '../src/presenter/computeds/messageModalHelper';
import { pendingReportListHelper as pendingReportListComputed } from '../src/presenter/computeds/pendingReportListHelper';
import { runCompute } from '@web-client/presenter/test.cerebral';
import { withAppContextDecorator } from '../src/withAppContext';

Expand Down Expand Up @@ -58,15 +58,15 @@ describe('Petitions clerk verifies offboarded judge journey', () => {
});

it(`petitions clerk verifies judge ${judgeName} does not appear in the pending report judge dropdown`, () => {
const formattedPendingItems = withAppContextDecorator(
formattedPendingItemsComputed,
const pendingReportList = withAppContextDecorator(
pendingReportListComputed,
);

const formattedPendingItemsHelper = runCompute(formattedPendingItems, {
const pendingReportListHelper = runCompute(pendingReportList, {
state: cerebralTest.getState(),
});

expect(formattedPendingItemsHelper.judges).not.toContain(judgeName);
expect(pendingReportListHelper.judges).not.toContain(judgeName);
});

it(`petitions clerk verifies judge ${judgeName} does not appear in the add trial session judge drop down`, async () => {
Expand Down

0 comments on commit df1d737

Please sign in to comment.