import { expect } from '@playwright/test' import { test } from './fixtures' import { createRandomPage } from './utils' test('custom html should not spawn any dialogs', async ({ page, block }) => { page.on('dialog', async dialog => { expect(false).toBeTruthy() await dialog.dismiss() }) await createRandomPage(page) await page.keyboard.type('