Skip to content

Commit

Permalink
chore: fix ai test (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushaw authored Jan 27, 2025
1 parent e6fc69e commit 02ad84c
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 27 deletions.
2 changes: 1 addition & 1 deletion packages/midscene/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build:watch": "modern build -w",
"new": "modern new",
"upgrade": "modern upgrade",
"test": "vitest --run",
"test": "vitest --run -u",
"test:ai": "AITEST=true npm run test",
"computer": "TEST_COMPUTER=true npm run test:ai -- tests/ai/evaluate/computer.test.ts",
"test:parse-action": "npm run test:ai -- tests/ai/parse-action.test.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ exports[`automation - planning input > input value Add, delete, correct and chec
{
"locate": {
"id": "fbc2d002",
"prompt": "the task input box with the content 'Learn English'",
"prompt": "the task input box with content 'Learn English'",
},
"param": {
"value": "Learn English tomorrow",
Expand All @@ -61,7 +61,7 @@ exports[`automation - planning input > input value Add, delete, correct and chec
{
"locate": {
"id": "fbc2d002",
"prompt": "the input box containing 'Learn English'",
"prompt": "the task input box containing 'Learn English'",
},
"param": {
"value": "Learn Skiing",
Expand Down

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 02ad84c

Please sign in to comment.