From 95e6f3dd78412aa10a612689cc9b9d4dbd88c547 Mon Sep 17 00:00:00 2001 From: Andy Kuny Date: Tue, 19 Nov 2024 16:15:26 -0500 Subject: [PATCH] 10556-bug: update cerebral integration tests --- web-client/integration-tests/caseJourney.test.ts | 8 ++++---- .../integration-tests/petitionerFilesADocument.test.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web-client/integration-tests/caseJourney.test.ts b/web-client/integration-tests/caseJourney.test.ts index 28a235e9f19..f22c01b715c 100644 --- a/web-client/integration-tests/caseJourney.test.ts +++ b/web-client/integration-tests/caseJourney.test.ts @@ -54,15 +54,15 @@ describe('Case journey', () => { loginAs(cerebralTest, 'irspractitioner@example.com'); respondentViewsDashboard(cerebralTest); - const documentCountPreStipDecision = 6; + const documentsOnRecordCount = 5; respondentAddsAnswer(cerebralTest, fakeFile, { - documentCount: documentCountPreStipDecision, + documentCount: documentsOnRecordCount, }); respondentAddsStipulatedDecision(cerebralTest, fakeFile, { - documentCount: documentCountPreStipDecision + 1, + documentCount: documentsOnRecordCount + 1, }); respondentAddsMotionWithBrief(cerebralTest, fakeFile, { - documentCount: documentCountPreStipDecision + 3, + documentCount: documentsOnRecordCount + 3, }); loginAs(cerebralTest, 'docketclerk@example.com'); diff --git a/web-client/integration-tests/petitionerFilesADocument.test.ts b/web-client/integration-tests/petitionerFilesADocument.test.ts index 5d7dabb49c9..1e336e04174 100644 --- a/web-client/integration-tests/petitionerFilesADocument.test.ts +++ b/web-client/integration-tests/petitionerFilesADocument.test.ts @@ -28,11 +28,11 @@ describe('petitioner files document', () => { loginAs(cerebralTest, 'petitioner@example.com'); petitionerViewsCaseDetail(cerebralTest, { - documentCount: 4, + documentCount: 3, }); petitionerFilesDocumentForCase(cerebralTest, fakeFile); petitionerViewsCaseDetailAfterFilingDocument(cerebralTest, { - documentCount: 8, + documentCount: 7, }); petitionerFilesAmendedMotion(cerebralTest, fakeFile); });