mirrored 2 minutes ago
0
TimothyxxxFix Duplicate ids; Remove unused JSON files across multiple applications 2f0f3f3
{
    "id": "26660ad1-6ebb-4f59-8cba-a8432dfe8d38",
    "snapshot": "multiapps",
    "instruction": "I want to test the quality of the network environment my laptop is currently in. Please measure my network situation through speedtest.net, export the measurement results, and save them to Documents\\Test\\Speed (if the dir does not exist, create it).",
    "source": "https://www.speedtest.net/",
    "config": [
        {
            "type": "launch",
            "parameters": {
                "command": [
					"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
                    "--remote-debugging-port=1337"
                ]
            }
        },
        {
            "type": "launch",
            "parameters": {
              "command": "ncat.exe -k -l 0.0.0.0 9222 --sh-exec \"ncat.exe 127.0.0.1 1337\"",
              "shell": true
            }            
        },
        {
            "type": "chrome_open_tabs",
            "parameters": {
              "urls_to_open": [
                "https://www.speedtest.net/"
              ]
            }
          },
          {
            "type": "activate_window",
            "parameters": {
              "window_name": "Google Chrome"
            }
          },
          {
            "type": "execute",
            "parameters": {
              "command": [
                "python",
                "-c",
                "import pyautogui; import time; time.sleep(0.5);"
              ]
            }
          }
    ],
    "trajectory": "trajectories/",
    "related_apps":[
        "os",
        "browser"
    ],
    "evaluator":{
        "func": "compare_time_in_speedtest_results",
        "result":{
            "type": "vm_file",
            "path": "C:\\Users\\User\\Documents\\Test\\Speed\\Speedtest Results Export-.csv",
            "dest": "Speedtest Results Export-.csv",
            "time_suffix": true
        },
        "expected":{
            "type": "time_diff_range",
            "diff_range_in_minutes": "60"
        }
    }
}