(page: Page)
| 22 | } |
| 23 | |
| 24 | async function expandConfigs(page: Page): Promise<void> { |
| 25 | const expandButton = page.locator('[title="Expand config editor"]'); |
| 26 | await expandButton.click(); |
| 27 | await page.waitForSelector('.monaco-editor-config', {state: 'visible'}); |
| 28 | } |
| 29 | |
| 30 | const TEST_SOURCE = `export default function TestComponent({ x }) { |
| 31 | return <Button>{x}</Button>; |