Skip to content

Commit 3c47adc

Browse files
committed
fix(cli): update session.test.ts help pointer for moved script-authoring content
1 parent 80ee870 commit 3c47adc

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

‎src/commands/management/session.test.ts‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,15 @@ test.each([
9999
},
100100
);
101101

102-
test('session and workflow help expose active publication and literal-secret warning', () => {
102+
// The compact workflow card (#1663) points to `help scripting` for the full
103+
// save-script/--record-as mechanics instead of carrying them inline; this
104+
// test follows that pointer to where the content actually lives now.
105+
test('session, workflow, and scripting help expose active publication and literal-secret warning', () => {
103106
expect(buildCommandUsageText('session')).toMatch(/session save-script \[path\] \[--force\]/);
104107
const workflow = buildCommandUsageText('workflow');
105-
expect(workflow).toMatch(/open-to-destination scripts/);
106-
expect(workflow).toMatch(/session save-script/);
107-
expect(workflow).toMatch(/Do not record passwords, tokens, or other secrets/);
108+
expect(workflow).toMatch(/Reusable scripts, secret-safe fills, replay repair: help scripting/);
109+
const scripting = buildCommandUsageText('scripting');
110+
expect(scripting).toMatch(/Reusable open-to-destination scripts/);
111+
expect(scripting).toMatch(/session save-script/);
112+
expect(scripting).toMatch(/Do not record passwords\/tokens without --record-as/);
108113
});

0 commit comments

Comments
 (0)