merge: support integration throttle test
Deploy Canina / deploy (push) Successful in 2m23s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s

This commit is contained in:
devops committed 2026-10-14 16:51:33 +00:00
commit 32cda55557
1 file changed
+1
+1
View File
@@ -21,6 +21,7 @@ async function check(name, body, expected, token, test=()=>true){
for(const field of ['userId','history','context','sessionId'])await check('reject '+field,{message:'سلام',[field]:ids[1]},400);
await Promise.all(ids.map((id,i)=>check('wallet isolation '+i,{message:'کیف پول',scope:'wallet'},201,jwt.sign({sub:id}),d=>d.answer.includes(i?'222':'111')&&!d.answer.includes(i?'111':'222'))));
await check('guest public real model',{message:'مکمل سگ کنینا'},201,null,d=>typeof d.answer==='string'&&!/provider|hermes|api.key/i.test(d.answer));
await new Promise(resolve=>setTimeout(resolve,61000));
await check('football denied',{message:'فوتبال سگ'},201,null,d=>d.answer.includes('فقط درباره'));
await check('URL denied',{message:'مکمل سگ https://example.com'},201,null,d=>d.answer.includes('پیوند'));
console.log('LIVE_STAGE_CHECKS_PASSED',count);