New test apps and E2E tests: - fontenum: Font enumeration via Local Font Access API (180 fonts) - textdecor: Text underline/strikethrough decorations - bitmask: wxMask bitmap transparency with color keys - regions: Non-rectangular region clipping (union, subtract, complex shapes) Updates: - playwright.config.ts: Add local-fonts permission - WHATWORKS.md: Document implemented features, update test counts - Makefile.wasm: Add build targets for new test apps 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
633 B
TypeScript
17 lines
633 B
TypeScript
// Bitmap Masking Tests - wxMask and transparent bitmap drawing
|
|
import { test, expect, tryLoadApp } from './utils/fixtures';
|
|
|
|
test.describe('Bitmap Masking Tests', () => {
|
|
|
|
test('Bitmap masking renders correctly', async ({ page, testLogger }) => {
|
|
await page.goto('/standalone/bitmask/bitmask_test.html');
|
|
const loaded = await tryLoadApp(page);
|
|
|
|
await page.waitForTimeout(500);
|
|
await page.screenshot({ path: 'test-results/bitmask.png', fullPage: true });
|
|
|
|
expect(loaded, 'Bitmap masking app should load').toBe(true);
|
|
expect(testLogger.errors.filter(e => !e.includes('favicon'))).toHaveLength(0);
|
|
});
|
|
|
|
});
|