Skip to content

Commit ae2addf

Browse files
committed
chore: modify input info
1 parent 1fb1aa0 commit ae2addf

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

packages/midscene/tests/ai/evaluate/plan/__snapshots__/planning-input.test.ts.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports[`automation - planning input > input value 1`] = `
55
{
66
"locate": {
77
"id": "fbc2d002",
8-
"prompt": "the taskbar input field",
8+
"prompt": "the input field with placeholder 'What needs to be done?'",
99
},
1010
"param": {
1111
"value": "learning english",
@@ -21,7 +21,7 @@ exports[`automation - planning input > input value 2`] = `
2121
{
2222
"locate": {
2323
"id": "fbc2d002",
24-
"prompt": "the taskbar input field",
24+
"prompt": "the input field labeled 'What needs to be done?'",
2525
},
2626
"param": {
2727
"value": "learning english",

packages/web-integration/tests/ai/web/playwright/ai-auto-todo.spec.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ test('ai todo', async ({ ai, aiQuery }) => {
1313
}
1414

1515
await ai('Enter "Happy Birthday" in the task box');
16-
await ai('Enter "Learn" in the task box');
17-
18-
await ai(
19-
'Add "JS today" to base on the existing content(important) of the task box, then press enter',
20-
);
16+
await ai('Enter "Learn JS today"in the task box, then press Enter to create');
2117

2218
await ai(
2319
'Enter "Learn Rust tomorrow" in the task box, then press Enter to create',
Loading
Loading

0 commit comments

Comments
 (0)