import { test, expect } from '@playwright/test' const base = process.env.CHARON_BASE_URL || 'http://localhost:8080' // Hit an API route inside /api/v1 to ensure Cerberus middleware executes. const targetPath = '/api/v1/system/my-ip' test.describe('WAF blocking and monitoring', () => { test('blocks malicious query when mode=block', async ({ request }) => { // Use literal '