2025-12-04 11:06:33 +01:00
|
|
|
// Text Decorations Tests - Underline and Strikethrough rendering
|
2026-07-07 10:50:24 +02:00
|
|
|
import { test, expect, waitForWxApp } from './utils/fixtures';
|
|
|
|
|
import { stableShot } from './utils/element-tracker';
|
2025-12-04 11:06:33 +01:00
|
|
|
|
|
|
|
|
test.describe('Text Decorations Tests', () => {
|
|
|
|
|
|
|
|
|
|
test('Text decorations render correctly', async ({ page, testLogger }) => {
|
|
|
|
|
await page.goto('/standalone/textdecor/textdecor_test.html');
|
2026-07-07 10:50:24 +02:00
|
|
|
await waitForWxApp(page);
|
2025-12-04 11:06:33 +01:00
|
|
|
|
2026-07-07 10:50:24 +02:00
|
|
|
await stableShot(page, 'textdecor.png', { fullPage: true });
|
2025-12-04 11:06:33 +01:00
|
|
|
|
|
|
|
|
expect(testLogger.errors.filter(e => !e.includes('favicon'))).toHaveLength(0);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|