update PPTC examples into impress
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"id": "9297dfa3-f7d9-4395-821c-cea230eb4925",
|
||||
"snapshot": "libreoffice_impress",
|
||||
"instruction": "Insert the Tencent logo as an image in the slide.",
|
||||
"source": "https://arxiv.org/pdf/2311.01767.pdf",
|
||||
"config": [
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.usercontent.google.com/download?id=15-hQtwEMmSitZiy-1FMAmLpfSYi3STb-&export=download&authuser=0&confirm=t&uuid=3f6bdcd5-c33d-4a65-b405-ad142a67c7c5&at=APZUnTVtRupsoginnE8RvfC5pVnK:1708242038143",
|
||||
"path": "/home/user/Desktop/95_1.pptx"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.usercontent.google.com/download?id=11nRcMzp462vbPq8j4loEyyvZP5TKV5-B&export=download&authuser=0&confirm=t&uuid=053795e5-40c1-4ff8-8e98-a435b7b88ff6&at=APZUnTUvVG-pRcedoFBBwqrKgxut:1708242556238",
|
||||
"path": "/home/user/Desktop/tencent_logo.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "open",
|
||||
"parameters": {
|
||||
"path": "/home/user/Desktop/95_1.pptx"
|
||||
}
|
||||
}
|
||||
],
|
||||
"trajectory": "trajectories/",
|
||||
"related_apps": [
|
||||
"libreoffice_impress"
|
||||
],
|
||||
"evaluator": {
|
||||
"postconfig": [
|
||||
{
|
||||
"type": "activate_window",
|
||||
"parameters": {
|
||||
"window_name": "95_1.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=13-ArxCuKU7rG0hWFtsDNDVjmPzKbtuCF&export=download&authuser=0&confirm=t&uuid=72450f23-a410-44c2-8f09-60f3c83d1f9e&at=APZUnTWmdlOLayXaVq9dcRAu0RI5:1708242311999",
|
||||
"dest": "95_1_Gold.pptx"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "/home/user/Desktop/95_1.pptx",
|
||||
"dest": "95_1.pptx"
|
||||
},
|
||||
"options": {
|
||||
"examine_shape": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user