Skip to content

Commit eec96f5

Browse files
authored
test: vscuse adjust folder (#14633)
* test: update * test: update * test: update * test: update
1 parent fd27931 commit eec96f5

15 files changed

+1191
-1490
lines changed

.github/workflows/ui-test-vscuse-v2.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: |
3131
if [ -z "${{ github.event.inputs.test_plan }}" ]; then
3232
# Get only top-level JSON files from plans directory (strip the .json extension)
33-
plans=$(find packages/tests/vscuse/vscode-test-cases/ -maxdepth 1 -type f -name "*.json" -exec basename {} .json \; | jq -R -s -c 'split("\n")[:-1]')
33+
plans=$(find packages/tests/vscuse/vscode-test-cases/plans/ -maxdepth 1 -type f -name "*.json" -exec basename {} .json \; | jq -R -s -c 'split("\n")[:-1]')
3434
echo "plans=$plans" >> $GITHUB_OUTPUT
3535
echo "Found test plans: $plans"
3636
else
@@ -70,6 +70,8 @@ jobs:
7070
# M365 account for testing
7171
M365_ACCOUNT_NAME: "[email protected]"
7272
M365_ACCOUNT_PASSWORD: ${{ secrets.TEST_M365_PASSWORD_NEW }}
73+
AZURE_ACCOUNT_NAME: "[email protected]"
74+
AZURE_ACCOUNT_PASSWORD: ${{ secrets.TEST_M365_PASSWORD_NEW }}
7375
M365_TENANT_ID: ${{ secrets.TEST_CLEAN_TENANT_ID_NEW }}
7476

7577
steps:
@@ -149,7 +151,7 @@ jobs:
149151
cd packages/tests/vscuse/vscode-test-cases
150152
python -m venv .venv
151153
source .venv/bin/activate
152-
vscuse execute --config-file ./config.yaml --groups-dir groups ${{ matrix.test_plan }}.json
154+
vscuse execute --config-file ./config.yaml --groups-dir groups ./plans/${{ matrix.test_plan }}.json
153155
154156
- name: Upload test artifacts
155157
if: always()

packages/tests/vscuse/vscode-test-cases/DA_new_api_api_key_js_happy_path.json

Lines changed: 0 additions & 270 deletions
This file was deleted.

packages/tests/vscuse/vscode-test-cases/Basic_AI_Chatbot_Azure_OpenAI_ts_Happy_Path.json renamed to packages/tests/vscuse/vscode-test-cases/plans/Basic_AI_Chatbot_Azure_OpenAI_ts_Happy_Path.json

Lines changed: 64 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
{
22
"plan_metadata": {
3-
"version": "1.1",
4-
"plan_id": "plan_2a5d5939",
5-
"execution_context": {
6-
"delay_between_steps": 1,
7-
"stop_on_error": true,
8-
"precondition_wait_timeout": 30,
9-
"precondition_retry_interval": 1
10-
},
11-
"total_steps": 4,
12-
"created_at": "2025-09-30T09:20:44.540332",
13-
"name": "Basic AI Chatbot Azure OpenAI ts Happy Path",
143
"description": "Basic AI Chatbot Azure OpenAI ts Happy Path",
15-
"generated_at": "2025-09-30T09:20:44.540316",
4+
"name": "Basic AI Chatbot Azure OpenAI ts Happy Path",
5+
"generated_at": "2025-10-15T05:38:20.391001",
166
"execution_order": [
177
"plan_r_0928_012254",
188
"step_11d7c304",
@@ -24,20 +14,38 @@
2414
"plan_r_0928_020230",
2515
"plan_r_0928_073729",
2616
"plan_r_0928_075846",
27-
"plan_r_0930_063548",
28-
"plan_r_1009_093215",
29-
"plan_r_0930_083113",
30-
"plan_r_1009_093215"
17+
"plan_r_0930_063548"
3118
],
3219
"tags": [],
33-
"updated_at": "2025-10-09T09:39:55.731181"
20+
"updated_at": "2025-10-15T05:39:22.878667",
21+
"version": "1.1",
22+
"plan_id": "plan_2a5d5939",
23+
"execution_context": {
24+
"delay_between_steps": 1,
25+
"stop_on_error": true,
26+
"precondition_wait_timeout": 30,
27+
"precondition_retry_interval": 1
28+
},
29+
"total_steps": 4,
30+
"created_at": "2025-10-15T05:38:20.391007"
3431
},
3532
"steps": [
3633
{
37-
"agent": "interaction",
34+
"tool": "click",
35+
"plan_id": "plan_2a5d5939",
3836
"description": "Click the \"Teams Agents and Apps\" option in the \"New Project\" dialog within Visual Studio Code, under the Microsoft 365 Agents Toolkit extension.",
39-
"step_id": "step_11d7c304",
4037
"content_refs": [],
38+
"retry_count": 0,
39+
"depends_on": [],
40+
"postconditions": [],
41+
"screenshot": "step_11d7c304",
42+
"agent": "interaction",
43+
"step_id": "step_11d7c304",
44+
"parameters": {
45+
"x": 373,
46+
"y": 217,
47+
"button": "left"
48+
},
4149
"timeout": 30,
4250
"continue_on_error": "false",
4351
"preconditions": [
@@ -46,24 +54,24 @@
4654
"dhash:373:217:0:10:c8c8809090b26461"
4755
],
4856
"tags": [],
49-
"created_at": "2025-10-09T08:59:25.755439",
50-
"plan_id": "plan_2a5d5939",
57+
"created_at": "2025-10-15T05:38:20.400902"
58+
},
59+
{
5160
"tool": "click",
52-
"parameters": {
53-
"x": 373,
54-
"y": 217,
55-
"button": "left"
56-
},
61+
"plan_id": "plan_2a5d5939",
62+
"description": "Click the \"General Teams Agent\" option in the dropdown menu within the \"Teams Agent or App Using Teams AI Library\" dialog in Visual Studio Code.",
63+
"content_refs": [],
5764
"retry_count": 0,
5865
"depends_on": [],
5966
"postconditions": [],
60-
"screenshot": "step_11d7c304"
61-
},
62-
{
67+
"screenshot": "step_46b68abb",
6368
"agent": "interaction",
64-
"description": "Click the \"General Teams Agent\" option in the dropdown menu within the \"Teams Agent or App Using Teams AI Library\" dialog in Visual Studio Code.",
6569
"step_id": "step_46b68abb",
66-
"content_refs": [],
70+
"parameters": {
71+
"x": 358,
72+
"y": 82,
73+
"button": "left"
74+
},
6775
"timeout": 30,
6876
"continue_on_error": "false",
6977
"preconditions": [
@@ -72,24 +80,24 @@
7280
"dhash:358:82:0:10:c0c4b09092b26461"
7381
],
7482
"tags": [],
75-
"created_at": "2025-10-09T08:59:25.777776",
76-
"plan_id": "plan_2a5d5939",
83+
"created_at": "2025-10-15T05:38:20.409322"
84+
},
85+
{
7786
"tool": "click",
78-
"parameters": {
79-
"x": 358,
80-
"y": 82,
81-
"button": "left"
82-
},
87+
"plan_id": "plan_2a5d5939",
88+
"description": "Click the \"TypeScript\" option in the \"Programming Language\" dropdown within Visual Studio Code's Microsoft 365 Agents Toolkit interface.",
89+
"content_refs": [],
8390
"retry_count": 0,
8491
"depends_on": [],
8592
"postconditions": [],
86-
"screenshot": "step_46b68abb"
87-
},
88-
{
93+
"screenshot": "step_0b4248d7",
8994
"agent": "interaction",
90-
"description": "Click the \"TypeScript\" option in the \"Programming Language\" dropdown within Visual Studio Code's Microsoft 365 Agents Toolkit interface.",
9195
"step_id": "step_0b4248d7",
92-
"content_refs": [],
96+
"parameters": {
97+
"x": 295,
98+
"y": 82,
99+
"button": "left"
100+
},
93101
"timeout": 30,
94102
"continue_on_error": "false",
95103
"preconditions": [
@@ -98,24 +106,24 @@
98106
"dhash:295:82:0:10:d090909092b26461"
99107
],
100108
"tags": [],
101-
"created_at": "2025-10-09T09:00:35.036141",
102-
"plan_id": "plan_2a5d5939",
109+
"created_at": "2025-10-15T05:38:20.416967"
110+
},
111+
{
103112
"tool": "click",
104-
"parameters": {
105-
"x": 295,
106-
"y": 82,
107-
"button": "left"
108-
},
113+
"plan_id": "plan_2a5d5939",
114+
"description": "Click the \"Default folder /home/vscode/AgentsToolkitProjects\" option in the \"Workspace Folder\" dropdown dialog in Visual Studio Code.",
115+
"content_refs": [],
109116
"retry_count": 0,
110117
"depends_on": [],
111118
"postconditions": [],
112-
"screenshot": "step_0b4248d7"
113-
},
114-
{
119+
"screenshot": "step_4af62f96",
115120
"agent": "interaction",
116-
"description": "Click the \"Default folder /home/vscode/AgentsToolkitProjects\" option in the \"Workspace Folder\" dropdown dialog in Visual Studio Code.",
117121
"step_id": "step_4af62f96",
118-
"content_refs": [],
122+
"parameters": {
123+
"x": 378,
124+
"y": 74,
125+
"button": "left"
126+
},
119127
"timeout": 30,
120128
"continue_on_error": "false",
121129
"preconditions": [
@@ -124,18 +132,7 @@
124132
"dhash:378:74:0:10:f0b0909092b26461"
125133
],
126134
"tags": [],
127-
"created_at": "2025-10-09T09:00:35.057779",
128-
"plan_id": "plan_2a5d5939",
129-
"tool": "click",
130-
"parameters": {
131-
"x": 378,
132-
"y": 74,
133-
"button": "left"
134-
},
135-
"retry_count": 0,
136-
"depends_on": [],
137-
"postconditions": [],
138-
"screenshot": "step_4af62f96"
135+
"created_at": "2025-10-15T05:38:20.424235"
139136
}
140137
],
141138
"screenshots": {

0 commit comments

Comments
 (0)