mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 00:16:38 +00:00
feat(cli): add browser automation commands
This commit is contained in:
1 parent
b6aef885ad
commit
4e30c9b080
42 files changed
+3028
-32
No files matched your search
@@ -25,6 +25,7 @@ describe('help command parity', () => {
|
||||
|
||||
expect(visibleLines.length).toBeLessThanOrEqual(90);
|
||||
expect(rendered.includes('ccs help <topic>')).toBe(true);
|
||||
expect(rendered.includes('ccs help browser')).toBe(true);
|
||||
expect(rendered.includes('ccs help completion')).toBe(true);
|
||||
});
|
||||
|
||||
@@ -69,6 +70,18 @@ describe('help command parity', () => {
|
||||
expect(rendered.includes('GitHub OAuth is dashboard-only')).toBe(true);
|
||||
});
|
||||
|
||||
test('browser topic explains Claude attach versus Codex browser tools', async () => {
|
||||
const rendered = await renderLines((writeLine) => handleHelpRoute(['browser'], writeLine));
|
||||
|
||||
expect(rendered.includes('CCS Browser Help')).toBe(true);
|
||||
expect(rendered.includes('Claude Browser Attach reuses a local Chrome session')).toBe(true);
|
||||
expect(rendered.includes('Codex Browser Tools inject managed Playwright MCP overrides')).toBe(
|
||||
true
|
||||
);
|
||||
expect(rendered.includes('ccs browser status')).toBe(true);
|
||||
expect(rendered.includes('ccs browser doctor')).toBe(true);
|
||||
});
|
||||
|
||||
test('completion topic documents install and verification paths', async () => {
|
||||
const rendered = await renderLines((writeLine) => handleHelpRoute(['completion'], writeLine));
|
||||
|
||||
|
||||
Reference in new issue
Block a user