Skip to content

Commit be2c45e

Browse files
committed
CCM-8574: bump test timeout
1 parent 1f1e29f commit be2c45e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ test.describe('letter file validation', () => {
107107
expect(csv?.ChecksumSHA256).toEqual(
108108
pdfUploadFixtures.withPersonalisation.csv.checksumSha256()
109109
);
110-
}).toPass({ timeout: 10_000 });
110+
}).toPass({ timeout: 20_000 });
111111
});
112112

113113
test('PDF only - Uploaded pdf file is virus scanned - if scan passes, file is copied to the internal bucket and validated', async ({
@@ -172,7 +172,7 @@ test.describe('letter file validation', () => {
172172
expect(pdf?.ChecksumSHA256).toEqual(
173173
pdfUploadFixtures.noCustomPersonalisation.pdf.checksumSha256()
174174
);
175-
}).toPass({ timeout: 10_000 });
175+
}).toPass({ timeout: 20_000 });
176176
});
177177

178178
test('Uploaded pdf template files and test data csv files are virus scanned - if scan fails, files are deleted from quarantine and not copied, file and template status updated in database', async ({
@@ -244,7 +244,7 @@ test.describe('letter file validation', () => {
244244
expect(csv?.ChecksumSHA256).toEqual(
245245
pdfUploadFixtures.withPersonalisation.csv.checksumSha256()
246246
);
247-
}).toPass({ timeout: 10_000 });
247+
}).toPass({ timeout: 20_000 });
248248
});
249249

250250
test('validation fails if pdf parameters and test data parameters do not match', async ({
@@ -294,7 +294,7 @@ test.describe('letter file validation', () => {
294294
expect(template.templateStatus).toBe('VALIDATION_FAILED');
295295
expect(template.personalisationParameters).toBeUndefined();
296296
expect(template.csvHeaders).toBeUndefined();
297-
}).toPass({ timeout: 10_000 });
297+
}).toPass({ timeout: 20_000 });
298298
});
299299

300300
test('validation fails if unexpected csv is uploaded', async ({ page }) => {
@@ -342,7 +342,7 @@ test.describe('letter file validation', () => {
342342
expect(template.templateStatus).toBe('VALIDATION_FAILED');
343343
expect(template.personalisationParameters).toBeUndefined();
344344
expect(template.csvHeaders).toBeUndefined();
345-
}).toPass({ timeout: 10_000 });
345+
}).toPass({ timeout: 20_000 });
346346
});
347347

348348
test('validation fails if expected csv is not uploaded', async ({ page }) => {
@@ -385,7 +385,7 @@ test.describe('letter file validation', () => {
385385
expect(template.templateStatus).toBe('VALIDATION_FAILED');
386386
expect(template.personalisationParameters).toBeUndefined();
387387
expect(template.csvHeaders).toBeUndefined();
388-
}).toPass({ timeout: 10_000 });
388+
}).toPass({ timeout: 20_000 });
389389
});
390390

391391
test('validation fails if pdf has incomplete address', async ({ page }) => {
@@ -428,7 +428,7 @@ test.describe('letter file validation', () => {
428428
expect(template.templateStatus).toBe('VALIDATION_FAILED');
429429
expect(template.personalisationParameters).toBeUndefined();
430430
expect(template.csvHeaders).toBeUndefined();
431-
}).toPass({ timeout: 10_000 });
431+
}).toPass({ timeout: 20_000 });
432432
});
433433

434434
test('validation fails if pdf has empty parameters', async ({ page }) => {
@@ -476,7 +476,7 @@ test.describe('letter file validation', () => {
476476
expect(template.templateStatus).toBe('VALIDATION_FAILED');
477477
expect(template.personalisationParameters).toBeUndefined();
478478
expect(template.csvHeaders).toBeUndefined();
479-
}).toPass({ timeout: 10_000 });
479+
}).toPass({ timeout: 20_000 });
480480
});
481481

482482
test('validation fails if pdf has non-sensible parameters', async ({
@@ -526,6 +526,6 @@ test.describe('letter file validation', () => {
526526
expect(template.templateStatus).toBe('VALIDATION_FAILED');
527527
expect(template.personalisationParameters).toBeUndefined();
528528
expect(template.csvHeaders).toBeUndefined();
529-
}).toPass({ timeout: 10_000 });
529+
}).toPass({ timeout: 20_000 });
530530
});
531531
});

0 commit comments

Comments
 (0)