agent-baseurl-retire-browser
[靶子] port=20098 base=http://localhost:20098
[1] PC web User 登录页 Index/login
✓ 登录页 HTTP 200(实得 200)
✓ 页面里存在验证码 <img id=loginDlg_codeImg>
✓ 验证码真被解码成图 naturalWidth>0(实得 {"complete":true,"w":100,"h":40,"src":"/index.php/Public/verify"})
✓ 点击后 src 变了(/index.php/Public/verify → /index.php/Public/verify?0.48091739507333287)
✓ 换一张之后仍然是能解码的图(实得 w=100)
[2] PC web User 注册页 Index/register
✓ 注册页 HTTP 200(实得 200)
✓ 注册页验证码解码成功(实得 {"complete":true,"w":100,"h":40,"src":"/index.php/Public/verify"})
[3] Taro 消费契约(同一 URL 的 <img> 解码;非 Taro 应用本身)
✓ fetchCaptchaUrl() 形态的 URL 能被 <img> 解码(实得 {"w":100,"h":40})
✓ 尺寸 100x40 与 captchaServiceUrl 的 width/height 参数一致(实得 100x40)
截图落点:/data/AICode/e2e/ma_dev_v2/ma/bin/workspace/test-results/playwright-images/agent-baseurl-retire
===== PASS=9 FAIL=0 =====