mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 22:34:56 +00:00
- codegen: Low-code React app with JSON-driven component system - packagerepo: Schema-driven package repository with backend/frontend - postgres: Next.js app with Drizzle ORM and PostgreSQL Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
628 B
TypeScript
17 lines
628 B
TypeScript
import { test, expect } from '@playwright/test'
|
|
|
|
test.describe('visual regression', () => {
|
|
test('json conversion showcase', async ({ page }) => {
|
|
await page.goto('/json-conversion-showcase')
|
|
await page.waitForLoadState('networkidle')
|
|
await page.waitForFunction(() => {
|
|
const root = document.querySelector('#root')
|
|
return root && root.textContent && root.textContent.length > 0
|
|
})
|
|
await page.addStyleTag({
|
|
content: '* { transition: none !important; animation: none !important; }',
|
|
})
|
|
await expect(page).toHaveScreenshot('json-conversion-showcase.png', { fullPage: true })
|
|
})
|
|
})
|