(docs) add title metadata to exported docx/pdf for accessibility

ensures document title is preserved in exports to meet accessibility needs

Signed-off-by: Cyril <c.gromoff@gmail.com>
This commit is contained in:
Cyril
2025-09-15 10:55:39 +02:00
parent 75da342058
commit 0894bcdca5
3 changed files with 14 additions and 5 deletions

View File

@@ -93,6 +93,7 @@ test.describe('Doc Export', () => {
expect(pdfData.numpages).toBe(2);
expect(pdfData.text).toContain('\n\nHello\n\nWorld'); // This is the doc text
expect(pdfData.info.Title).toBe(randomDoc);
});
test('it exports the doc to docx', async ({ page, browserName }) => {