implement action replay for vscode and gimp evaluation

This commit is contained in:
Siheng Zhao
2024-01-13 17:53:13 +08:00
parent d6f694da1c
commit 105fd35683
5 changed files with 78 additions and 6 deletions

View File

@@ -15,5 +15,21 @@
"related_apps": [
"vscode"
],
"evaluator": "evaluation_dir"
"evaluator": {
"func": "compare_config",
"expected": {
"type": "string",
"string": "project"
},
"result": {
"type": "vscode_config",
"trajectory": [
{"type": "hotkey", "param": ["command", "shift", "p"]},
{"type": "typewrite", "param": "OpenProject"},
{"type": "press", "param": "enter"}
],
"path": "OpenProject.txt",
"dest": "OpenProject.txt"
}
}
}