{
  "pass": {
    "crash": false,
    "screenshot": {
      "max_diff": 0.05
    },
    "frametime_p99_ms": {
      "max_delta_pct": 20
    }
  },
  "probe": [
    {
      "kind": "crash"
    },
    {
      "kind": "frametime"
    }
  ],
  "matrix": {},
  "schema": 3,
  "target": [
    {
      "name": "linux",
      "tags": [
        "linux"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "windows",
      "tags": [
        "windows"
      ],
      "max_reports": 2,
      "min_reports": 1
    }
  ],
  "summary": "Check menu opening, tab changes and continued presentation on Linux and Windows",
  "baseline": {
    "ref": "main"
  },
  "scenario": [
    {
      "env": {
        "RX_VK_SHOT_MENU": "1",
        "RX_VK_MENU_SCRIPT": "5:INS,8:TABR,9:TABR,12:ESC"
      },
      "name": "menu-presentation",
      "runs": 1,
      "step": [
        {
          "do": "wait",
          "event": "present",
          "timeout_s": 60
        },
        {
          "do": "wait_s",
          "seconds": 7
        },
        {
          "do": "shot",
          "name": "menu-open",
          "upload": false,
          "compare": "baseline"
        },
        {
          "do": "wait_s",
          "seconds": 4
        },
        {
          "do": "shot",
          "name": "menu-tabs",
          "upload": false,
          "compare": "baseline"
        },
        {
          "do": "wait_s",
          "seconds": 3
        },
        {
          "do": "wait",
          "event": "present",
          "timeout_s": 30
        },
        {
          "do": "measure",
          "name": "after-menu",
          "warmup_s": 0,
          "duration_s": 10
        }
      ],
      "start": "save:kokiri-start",
      "matrix": true,
      "settings": {}
    }
  ]
}
