Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/sessions/test/e2e/scenarios/generated/04-navigate-sessions.commands.json
13405 views
1
{
2
"scenario": "Scenario: Navigate between sessions and verify history loads",
3
"generatedAt": "2026-03-06T04:56:01.957Z",
4
"steps": [
5
{
6
"description": "Type \"explain the code\"",
7
"commands": [
8
"click textbox \"Chat input\"",
9
"type \"explain the code\""
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 chat response",
21
"commands": [
22
"# ASSERT_VISIBLE: This project has a simple structure with a main entry point and utility functions."
23
]
24
},
25
{
26
"description": "Click button \"New Session\"",
27
"commands": [
28
"click button \"New Session\""
29
]
30
},
31
{
32
"description": "Type \"build the project\" in the chat input",
33
"commands": [
34
"click textbox \"Chat input\"",
35
"type \"build the project\""
36
]
37
},
38
{
39
"description": "Press Enter to submit",
40
"commands": [
41
"click textbox \"Chat input\"",
42
"press Enter"
43
]
44
},
45
{
46
"description": "Verify there is a chat response",
47
"commands": [
48
"# ASSERT_VISIBLE: I'll help you build the project. Here are the changes:"
49
]
50
},
51
{
52
"description": "Click on a different session in the sessions list",
53
"commands": [
54
"click listitem \"explain the code\""
55
]
56
},
57
{
58
"description": "Verify the session changed and the content in the chat is different",
59
"commands": [
60
"# ASSERT_VISIBLE: explain the code",
61
"# ASSERT_VISIBLE: This project has a simple structure with a main entry point and utility functions."
62
]
63
}
64
]
65
}
66
67