Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/stim-cli/src/__tests__/guide.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ test('the run section names the marker version the status payload reports and on

test('the run section checks each change on the tutorial app with agent-device', () => {
const run = flat('run');
for (const testID of ['tap-button', 'dark-accent-switch', 'name-input']) expect(run).toContain(testID);
for (const testID of ['tap-button', 'dark-accent-switch', 'size-m']) expect(run).toContain(testID);
expect(run).toContain('agent-device open dev.stim.tutorial --platform ios --udid <ios.udid>');
expect(run).toMatch(/snapshot -i before every action/);
});
Expand Down
4 changes: 2 additions & 2 deletions packages/stim-cli/src/guide/tutorial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ ${screenshots}

Check each change on the device with agent-device in that same session, after
the after screenshot, so Stim Desktop records your actions and the user can
replay them: tap tap-button, toggle dark-accent-switch, type a name in
name-input, then take a screenshot (agent-device screenshot
replay them: tap tap-button, toggle dark-accent-switch, pick a size
(size-s, size-m or size-l), then take a screenshot (agent-device screenshot
.expo/screenshots/checked.png) and confirm the change. Refs expire after each
action: run agent-device snapshot -i before every action and use the ref it
reports for that testID. When agentDevice.installed is false in stim status
Expand Down
4 changes: 2 additions & 2 deletions website/docs/desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ a tiny Expo app, and shows:
When the tutorial ends, the panel shows a completion card: the time from clone to archive, the first build, the second build's cache hit and the time it saved, the two worktrees, the agent actions you can replay, and the space Delete freed, each only when Stim measured it. Each optional step you finished is a badge; a skipped one stays dashed.

Your agent checks each change on its simulator with agent-device, following
`stim guide tutorial run`: it taps **Tap me**, toggles **Dark accent**, types a
name and takes a screenshot, so Desktop records its actions for the Agent
`stim guide tutorial run`: it taps **Tap me**, toggles **Dark accent**, picks a
**Size** and takes a screenshot, so Desktop records its actions for the Agent
Actions and Replay step.

When agent-device is not installed, **Make a Change** shows a card with
Expand Down
Loading