Skip to content

Commit fc84b3d

Browse files
committed
CCM-9118 Revert change
1 parent 7963179 commit fc84b3d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tests/test-team/template-mgmt-e2e-tests/template-mgmt-letter-full.e2e.spec.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,25 @@ test.describe('letter complete e2e journey', () => {
143143

144144
const template = await templateStorageHelper.getTemplate(key);
145145

146+
const pdfVersionId = template.files?.pdfTemplate?.currentVersion;
147+
148+
const batchId = `${templateId}-0000000000000_${pdfVersionId!.replaceAll('-', '').slice(0, 27)}`;
149+
150+
expect(template.files?.proofs).toEqual({
151+
[`${batchId}_proof_1`]: {
152+
fileName: `proofs/${user.userId}/${templateId}/${batchId}_proof_1.pdf`,
153+
virusScanStatus: 'PASSED',
154+
},
155+
[`${batchId}_proof_2`]: {
156+
fileName: `proofs/${user.userId}/${templateId}/${batchId}_proof_2.pdf`,
157+
virusScanStatus: 'PASSED',
158+
},
159+
[`${batchId}_proof_3`]: {
160+
fileName: `proofs/${user.userId}/${templateId}/${batchId}_proof_3.pdf`,
161+
virusScanStatus: 'PASSED',
162+
},
163+
});
164+
146165
expect(template.templateStatus).toEqual('PROOF_AVAILABLE');
147166
}).toPass({ timeout: 60_000 });
148167

0 commit comments

Comments
 (0)