{
  "id": "ecb0df7a-4e8d-4a03-b162-053391d3afaf",
  "snapshot": "libreoffice_calc",
  "instruction": "Enable each cell in the column\"Pass/Fail/Held\" is a drop down list",
  "source": "https://www.youtube.com/shorts/tXOovKn0H68",
  "config": [
		{
			"type": "download",
			"parameters": {
				"files": [
					{
						"url": "https://drive.usercontent.google.com/download?id=1vKtnFG-sL7Ba0UCcUh4dWJDfZeAHAP6l&export=download&authuser=0&confirm=t&uuid=70a267fa-dc71-4893-8fe3-a7254e50c567&at=APZUnTVfnhipGIdrD39159Eqv9lf:1705567650653",
						"path": "/home/user/Order_Id_Mark_Pass_Fail.xlsx"
					}
				]
			}
		},
		{
			"type": "open",
			"parameters": {
				"path": "/home/user/Order_Id_Mark_Pass_Fail.xlsx"
			}
		}
	],
  "trajectory": "trajectories/ecb0df7a-4e8d-4a03-b162-053391d3afaf",
  "related_apps": [
    "libreoffice calc"
  ],
	"evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Order_Id_Mark_Pass_Fail.xlsx - LibreOffice Calc",
          "strict": true
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python",
            "-c",
            "import pyautogui; pyautogui.hotkey(\"ctrl\", \"s\");"
          ]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      }
    ],
    "func": "compare_table",
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0"
        },
        {
          "type": "data_validation",
          "sheet_idx": 0,
          "dv_props": [
            {
              "ranges": {
                "method": "spreadsheet_range",
                "ref": ["D2:D29", "D2:D1048576"]
              },
              "type": {
                "method": "eq",
                "ref": "list"
              },
              "formula1": {
                "method": "str_set_eq",
                "ref": ["Pass", "Fail", "Held"]
              }
            }
          ]
        }
      ]
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/Order_Id_Mark_Pass_Fail.xlsx",
      "dest": "Order_Id_Mark_Pass_Fail.xlsx"
    },
    "expected": {
      "type": "cloud_file",
      "path": "https://drive.usercontent.google.com/download?id=125u7hc0LOcHXtJhOBd_Z5vt__7kwYOTQ&export=download&authuser=0&confirm=t&uuid=17e5da1b-fb1d-45d8-a9b1-6cd146ebaeee&at=APZUnTVqGyk6n5NPKzrq4KSOe871:1705898482101",
      "dest": "Order_Id_Mark_Pass_Fail_gold.xlsx"
    }
  }
}
