Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/sessions/test/e2e/scenarios/generated/05-full-workflow.commands.json
13405 views
1
{
2
"scenario": "Scenario: Full workflow",
3
"generatedAt": "2026-03-12T22:48:50.725Z",
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
"press Enter"
16
]
17
},
18
{
19
"description": "Verify there is a response in the chat",
20
"commands": [
21
"# ASSERT_VISIBLE: I'll help you build the project. Here are the changes:"
22
]
23
},
24
{
25
"description": "Verify the changes view shows \"CHANGES\" with a badge",
26
"commands": [
27
"# ASSERT_VISIBLE: Changes"
28
]
29
},
30
{
31
"description": "Verify \"package.json\" is visible in the changes list",
32
"commands": [
33
"# ASSERT_VISIBLE: package.json"
34
]
35
},
36
{
37
"description": "Verify \"build.ts\" is visible in the changes list",
38
"commands": [
39
"# ASSERT_VISIBLE: build.ts"
40
]
41
},
42
{
43
"description": "Verify \"index.ts\" is visible in the changes list",
44
"commands": [
45
"# ASSERT_VISIBLE: index.ts"
46
]
47
},
48
{
49
"description": "Click on \"index.ts\" in the changes list",
50
"commands": [
51
"click treeitem \"index.ts\""
52
]
53
},
54
{
55
"description": "Verify a diff editor opens with modified content",
56
"commands": [
57
"# ASSERT_VISIBLE: index.ts"
58
]
59
},
60
{
61
"description": "Press Escape to close the diff editor",
62
"commands": [
63
"press Escape"
64
]
65
},
66
{
67
"description": "Verify \"Merge\" button is visible in changes view header",
68
"commands": [
69
"# ASSERT_VISIBLE: Merge"
70
]
71
},
72
{
73
"description": "Verify the \"Open Terminal\" button is visible",
74
"commands": [
75
"# ASSERT_VISIBLE: Open Terminal"
76
]
77
},
78
{
79
"description": "Click the \"Open Terminal\" button",
80
"commands": [
81
"click button \"Open Terminal\""
82
]
83
},
84
{
85
"description": "Verify the terminal panel becomes visible",
86
"commands": [
87
"# ASSERT_VISIBLE: Terminal"
88
]
89
},
90
{
91
"description": "Verify the terminal tab shows \"session-1\" in its label",
92
"commands": [
93
"# ASSERT_VISIBLE: bash - session-1"
94
]
95
},
96
{
97
"description": "Click \"New Session\" to create a new session",
98
"commands": [
99
"click button \"New Session\""
100
]
101
},
102
{
103
"description": "Type \"fix the bug\" in the chat input",
104
"commands": [
105
"click textbox \"Chat input\"",
106
"type \"fix the bug\""
107
]
108
},
109
{
110
"description": "Press Enter to submit",
111
"commands": [
112
"press Enter"
113
]
114
},
115
{
116
"description": "Verify the terminal tab label changes to show \"session-2\"",
117
"commands": [
118
"# ASSERT_VISIBLE: bash - session-2"
119
]
120
},
121
{
122
"description": "Click back on the first session in the sessions list",
123
"commands": [
124
"click listitem \"build the project\""
125
]
126
},
127
{
128
"description": "Verify the terminal tab label changes back to show \"session-1\"",
129
"commands": [
130
"# ASSERT_VISIBLE: bash - session-1"
131
]
132
}
133
]
134
}
135
136