Personal Telegram developer console for GitHub

test: avoid false positive on Persian failure wording

davoodmehraban89 committed Oct 3, 2026 at 08:47 UTC 354f79c6f6f0b4372d85f30cf4ad8ece3e26944d
1 file changed +1 -1
test/approval-provider-error-ui.test.js
+1 -1
@@ -122,7 +122,7 @@ test('approved GitHub WRITE provider failure visibly updates Telegram and does n
122 assert.equal(edits.length, 2, 'provider failure must visibly replace the approval message');
123 const feedback = edits.at(-1);
124 assert.match(feedback.body.text, /اجرا نشد|GitHub|403|دسترسی/);
125 - assert.doesNotMatch(feedback.body.text, /موفق|success/i);
125 + assert.doesNotMatch(feedback.body.text, /عملیات با موفقیت|success/i);
126 assert.ok(
127 feedback.body.reply_markup.inline_keyboard.flat().some(button => button.callback_data === 'run:1001:55'),
128 'provider failure must provide a safe route back to the run'