update PPTC examples into impress
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"id": "1d6db3de-f71a-412d-8d66-4fd32cea14ad",
|
||||
"snapshot": "libreoffice_impress",
|
||||
"instruction": "Insert the \"CONTENTS\" at the center of the text box.",
|
||||
"source": "https://arxiv.org/pdf/2311.01767.pdf",
|
||||
"config": [
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.usercontent.google.com/download?id=1PwNIdDVR3VRAm_3k2Fhg0qdkTX4dN02D&export=download&authuser=0&confirm=t&uuid=74afcae8-75a2-4ce9-ab97-9726e43c034b&at=APZUnTWLq_UoEP5UzyBBPXOaAtAL:1708192844449",
|
||||
"path": "/home/user/Desktop/59_0.pptx"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "open",
|
||||
"parameters": {
|
||||
"path": "/home/user/Desktop/59_0.pptx"
|
||||
}
|
||||
}
|
||||
],
|
||||
"trajectory": "trajectories/",
|
||||
"related_apps": [
|
||||
"libreoffice_impress"
|
||||
],
|
||||
"evaluator": {
|
||||
"postconfig": [
|
||||
{
|
||||
"type": "activate_window",
|
||||
"parameters": {
|
||||
"window_name": "59_0.pptx - LibreOffice Impress",
|
||||
"strict": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "sleep",
|
||||
"parameters": {
|
||||
"seconds": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "execute",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"python",
|
||||
"-c",
|
||||
"import pyautogui; import time; pyautogui.hotkey('ctrl', 's'); time.sleep(0.5);pyautogui.press('down');time.sleep(0.5);pyautogui.press('enter');time.sleep(0.5);"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "sleep",
|
||||
"parameters": {
|
||||
"seconds": 0.5
|
||||
}
|
||||
}
|
||||
],
|
||||
"func": "compare_pptx_files",
|
||||
"expected": {
|
||||
"type": "cloud_file",
|
||||
"path": "https://drive.usercontent.google.com/download?id=1LiEmhxW4eWpcxc7lhwnVPoM8wL9OkL-U&export=download&authuser=0&confirm=t&uuid=975ef67f-0f9a-4461-9e1e-9e19aaf8a5cb&at=APZUnTXi54cvqbwezyIbRyJ8ZJLe:1708192934226",
|
||||
"dest": "59_0_Gold.pptx"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "/home/user/Desktop/59_0.pptx",
|
||||
"dest": "59_0.pptx"
|
||||
},
|
||||
"options": {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user