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