-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
134 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
packages/midscene/tests/ai/evaluate/plan/__snapshots__/planning-input.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`automation - planning input > input value 1`] = ` | ||
[ | ||
{ | ||
"locate": { | ||
"id": "fbc2d002", | ||
"prompt": "the input field with placeholder 'What needs to be done?'", | ||
}, | ||
"param": { | ||
"value": "learning english", | ||
}, | ||
"thought": undefined, | ||
"type": "Input", | ||
}, | ||
] | ||
`; | ||
|
||
exports[`automation - planning input > input value 2`] = ` | ||
[ | ||
{ | ||
"locate": { | ||
"id": "fbc2d002", | ||
"prompt": "the input field labeled 'What needs to be done?'", | ||
}, | ||
"param": { | ||
"value": "learning english", | ||
}, | ||
"thought": undefined, | ||
"type": "Input", | ||
}, | ||
{ | ||
"locate": null, | ||
"param": { | ||
"value": "Enter", | ||
}, | ||
"thought": undefined, | ||
"type": "KeyboardPress", | ||
}, | ||
] | ||
`; | ||
|
||
exports[`automation - planning input > input value Add, delete, correct and check 1`] = ` | ||
[ | ||
{ | ||
"locate": { | ||
"id": "fbc2d002", | ||
"prompt": "the task input box with the content 'Learn English'", | ||
}, | ||
"param": { | ||
"value": "Learn English tomorrow", | ||
}, | ||
"thought": undefined, | ||
"type": "Input", | ||
}, | ||
] | ||
`; | ||
|
||
exports[`automation - planning input > input value Add, delete, correct and check 2`] = ` | ||
[ | ||
{ | ||
"locate": { | ||
"id": "fbc2d002", | ||
"prompt": "the input box containing 'Learn English'", | ||
}, | ||
"param": { | ||
"value": "Learn Skiing", | ||
}, | ||
"thought": undefined, | ||
"type": "Input", | ||
}, | ||
] | ||
`; | ||
|
||
exports[`automation - planning input > input value Add, delete, correct and check 3`] = ` | ||
[ | ||
{ | ||
"locate": { | ||
"id": "fbc2d002", | ||
"prompt": "the task input box containing 'Learn English'", | ||
}, | ||
"param": { | ||
"value": "Learn", | ||
}, | ||
"thought": undefined, | ||
"type": "Input", | ||
}, | ||
] | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+2.54 KB
(100%)
packages/web-integration/tests/unit-test/fixtures/web-extractor/input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-17.5 KB
(98%)
packages/web-integration/tests/unit-test/fixtures/web-extractor/output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6.69 KB
(93%)
packages/web-integration/tests/unit-test/fixtures/web-extractor/scroll/input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10.5 KB
(92%)
packages/web-integration/tests/unit-test/fixtures/web-extractor/scroll/output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.