diff --git a/tests/sanity/tests/documents/documents-content.spec.ts b/tests/sanity/tests/documents/documents-content.spec.ts index 2efd4c7c6f..95bba3b78b 100644 --- a/tests/sanity/tests/documents/documents-content.spec.ts +++ b/tests/sanity/tests/documents/documents-content.spec.ts @@ -236,9 +236,9 @@ test.describe('Content in the Documents tests', () => { const HEADER_2_CONTENT = 'Header 2' const HEADER_3_CONTENT = 'Header 3' const contentParts = [ - `# ${HEADER_1_CONTENT}\n\n${faker.lorem.paragraph(20)}\n`, - `## ${HEADER_2_CONTENT}\n\n${faker.lorem.paragraph(20)}\n`, - `### ${HEADER_3_CONTENT}\n\n${faker.lorem.paragraph(20)}` + `# ${HEADER_1_CONTENT}\n\n${faker.lorem.paragraph(12)}\n`, + `## ${HEADER_2_CONTENT}\n\n${faker.lorem.paragraph(8)}\n`, + `### ${HEADER_3_CONTENT}\n\n${faker.lorem.paragraph(4)}` ] await test.step('Fill in the document and check the appearance of the ToC items', async () => {