Skip to content

Commit d2257eb

Browse files
committed
test(e2e): include kiro in target matrix guards and multi-target install
The Local E2E Tests CI job failed because two matrix-coverage guards hardcoded the target set (claude, antigravity, cursor, cline, codex) and did not include the new kiro target. Add kiro (own-file, between cline and codex to match TARGETS order) to both guards, and add kiro to the multi-target install e2e so the target is actually exercised end-to-end.
1 parent 3accaf1 commit d2257eb

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

test/e2e/agent-install.e2e.test.ts

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,13 +430,13 @@ describe('dry-run', () => {
430430
// ---------------------------------------------------------------------------
431431

432432
describe('multi-target install', () => {
433-
it('--target=claude,cursor,cline,antigravity,codex writes all targets + skills, exit 0', () => {
433+
it('--target=claude,cursor,cline,antigravity,kiro,codex writes all targets + skills, exit 0', () => {
434434
const tmpDir = freshTmpDir();
435435

436436
const result = runCli([
437437
'agent',
438438
'install',
439-
'--target=claude,cursor,cline,antigravity,codex',
439+
'--target=claude,cursor,cline,antigravity,kiro,codex',
440440
'--dir',
441441
tmpDir,
442442
'--output',
@@ -449,7 +449,7 @@ describe('multi-target install', () => {
449449
action: string;
450450
path: string;
451451
}>;
452-
const allTargets: AgentTarget[] = ['claude', 'cursor', 'cline', 'antigravity', 'codex'];
452+
const allTargets: AgentTarget[] = ['claude', 'cursor', 'cline', 'antigravity', 'kiro', 'codex'];
453453

454454
for (const target of allTargets) {
455455
if (TARGETS[target].mode === 'managed-section') {
@@ -819,7 +819,14 @@ describe('agent list', () => {
819819
// ---------------------------------------------------------------------------
820820
describe('matrix coverage guard', () => {
821821
it('TARGETS matches the documented, e2e-covered set (update this list when adding a target)', () => {
822-
expect(Object.keys(TARGETS)).toEqual(['claude', 'antigravity', 'cursor', 'cline', 'codex']);
822+
expect(Object.keys(TARGETS)).toEqual([
823+
'claude',
824+
'antigravity',
825+
'cursor',
826+
'cline',
827+
'kiro',
828+
'codex',
829+
]);
823830
});
824831

825832
it('SKILLS matches the documented, e2e-covered set (update this list when adding a skill)', () => {

test/e2e/setup.e2e.test.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,14 @@ describe('deprecated `init` alias', () => {
222222

223223
describe('matrix coverage guard', () => {
224224
it('TARGETS matches the documented set (update this list when adding a target)', () => {
225-
expect(Object.keys(TARGETS)).toEqual(['claude', 'antigravity', 'cursor', 'cline', 'codex']);
225+
expect(Object.keys(TARGETS)).toEqual([
226+
'claude',
227+
'antigravity',
228+
'cursor',
229+
'cline',
230+
'kiro',
231+
'codex',
232+
]);
226233
});
227234
});
228235

0 commit comments

Comments
 (0)