(route: { abort: (reason?: string) => Promise<void> })
| 308 | const CSS_GLOB = '**/*.css' |
| 309 | |
| 310 | const abortRoute = (route: { abort: (reason?: string) => Promise<void> }) => |
| 311 | route.abort('blockedbyclient') |
| 312 | |
| 313 | export async function optimizePageForFastE2E(page: Page) { |
| 314 | const blockAssets = envBoolean('E2E_BLOCK_NON_ESSENTIAL', true) |