Skip to content

Commit 1b7d40e

Browse files
committed
fixup! ✅(e2e) add test for accessible html export from export modal
1 parent 46953ec commit 1b7d40e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/frontend/apps/e2e/__tests__/app-impress/doc-export.spec.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -254,18 +254,6 @@ test.describe('Doc Export', () => {
254254
// Read and verify HTML content
255255
const htmlContent = await indexHtml!.async('string');
256256
expect(htmlContent).toContain('Hello HTML ZIP');
257-
258-
// Check for media files (they are at the root of the ZIP, not in a media/ folder)
259-
// Media files are named like "1-test.svg" or "media-1.png" by deriveMediaFilename
260-
const allFiles = Object.keys(zip.files);
261-
const mediaFiles = allFiles.filter(
262-
(name) => name !== 'index.html' && !name.endsWith('/'),
263-
);
264-
expect(mediaFiles.length).toBeGreaterThan(0);
265-
266-
// Verify the SVG image is included
267-
const svgFile = mediaFiles.find((name) => name.endsWith('.svg'));
268-
expect(svgFile).toBeDefined();
269257
});
270258

271259
/**

0 commit comments

Comments
 (0)