Path: blob/main/src/vs/sessions/test/e2e/scenarios/generated/02-chat-with-changes.commands.json
13405 views
{1"scenario": "Scenario: Chat message produces real file diffs in the changes view",2"generatedAt": "2026-03-10T00:00:00.000Z",3"note": "Uses semantic selectors — regenerate with 'npm run generate' if UI labels change",4"steps": [5{6"description": "Type \"build the project\" in the chat input",7"commands": [8"click textbox \"Chat input\"",9"type \"build the project\""10]11},12{13"description": "Press Enter to submit",14"commands": [15"click textbox \"Chat input\"",16"press Enter"17]18},19{20"description": "Verify there is a response in the chat",21"commands": [22"# ASSERT_VISIBLE: I'll help you build the project. Here are the changes:"23]24},25{26"description": "Verify the changes view shows modified files",27"commands": [28"# ASSERT_VISIBLE: index.ts",29"# ASSERT_VISIBLE: build.ts",30"# ASSERT_VISIBLE: package.json"31]32},33{34"description": "Click on \"index.ts\" in the changes list",35"commands": [36"click treeitem \"index.ts\""37]38},39{40"description": "Verify a diff editor opens with the modified content",41"commands": [42"# ASSERT_VISIBLE: import { build } from"43]44},45{46"description": "Press Escape to close the diff editor",47"commands": [48"press Escape"49]50}51]52}535455