From db339bc6c3ffcc9cf6c3e2b96272cf9aeeba26f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Sz=C3=BCcs?= Date: Thu, 6 Nov 2025 10:41:38 +0100 Subject: [PATCH] test(convert): extend integration tests with CBR conversion options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added `cbrOptions` to test configurations with `optimizeForEbook` set to `false`. - Added `pdfToCbrOptions` to test configurations with `dpi` set to `150`. Signed-off-by: Balázs Szücs --- .../tests/convert/ConvertIntegration.test.tsx | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/frontend/src/core/tests/convert/ConvertIntegration.test.tsx b/frontend/src/core/tests/convert/ConvertIntegration.test.tsx index 5d0d899d7..3ff8a04e4 100644 --- a/frontend/src/core/tests/convert/ConvertIntegration.test.tsx +++ b/frontend/src/core/tests/convert/ConvertIntegration.test.tsx @@ -148,6 +148,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -215,6 +221,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -260,6 +272,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -314,6 +332,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -372,6 +396,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -428,6 +458,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -480,6 +516,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -529,6 +571,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -580,6 +628,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -628,6 +682,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -682,6 +742,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } }; @@ -735,6 +801,12 @@ describe('Convert Tool Integration Tests', () => { }, pdfaOptions: { outputFormat: '' + }, + cbrOptions: { + optimizeForEbook: false + }, + pdfToCbrOptions: { + dpi: 150 } };