Personal Telegram developer console for GitHub
test: require guide coverage for operational menus
davoodmehraban89 committed
Oct 4, 2026 at 14:09 UTC
de6bae99551ddc285e25062fa4eb49d9d926b95f
1 file changed
+12
test/help-guide.test.js
+12
@@ -53,6 +53,18 @@ describe('Nexa Dev Bot - in-app V2 guide', () => {
53
}
54
});
55
56
+ it('documents the operational diagnostics, read-only configuration and Security Center controls', async () => {
57
+ const menuHelp = await menu.renderByCallback('help:1');
58
+ for (const label of ['خودآزمایی', 'تست اتصال GitHub', 'Runtime', 'Plugin Registry', 'پیکربندی', 'فقطخواندنی']) {
59
+ assert.ok(menuHelp.text.includes(label), `operational guide missing ${label}`);
60
+ }
61
+
62
+ const securityHelp = await menu.renderByCallback('help:6');
63
+ for (const label of ['مرکز امنیت', 'سیاست عملیات', 'Safe Approval', 'Replay']) {
64
+ assert.ok(securityHelp.text.includes(label), `security guide missing ${label}`);
65
+ }
66
+ });
67
+
68
it('documents the complete file-edit flow from project selection through branch-only Safe Approval commit', async () => {
69
const view = await menu.renderByCallback('help:4');
70
const expected = [