🏡 index : quine-global/webdriverio.git

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`action command > resolves not resolved wdio elements in pointer action 1`] = `
{
  "actions": [
    {
      "actions": [
        {
          "button": 0,
          "duration": 100,
          "origin": {
            "element-6066-11e4-a52e-4f735466cecf": "some-elem-123",
          },
          "type": "pointerMove",
          "x": 0,
          "y": 0,
        },
      ],
      "id": "action2",
      "parameters": {
        "pointerType": "mouse",
      },
      "type": "pointer",
    },
  ],
}
`;

exports[`action command > resolves not resolved wdio elements in wheel action 1`] = `
{
  "actions": [
    {
      "actions": [
        {
          "deltaX": 0,
          "deltaY": 0,
          "duration": 0,
          "origin": {
            "element-6066-11e4-a52e-4f735466cecf": "some-elem-123",
          },
          "type": "scroll",
          "x": 0,
          "y": 0,
        },
      ],
      "id": "action3",
      "parameters": {},
      "type": "wheel",
    },
  ],
}
`;

exports[`action command > should support key actions 1`] = `
{
  "actions": [
    {
      "actions": [
        {
          "type": "keyDown",
          "value": "f",
        },
        {
          "duration": 100,
          "type": "pause",
        },
        {
          "type": "keyUp",
          "value": "b",
        },
      ],
      "id": "foobar",
      "parameters": {},
      "type": "key",
    },
  ],
}
`;

exports[`action command > should support pointer actions 1`] = `
{
  "actions": [
    {
      "actions": [
        {
          "altitudeAngle": 9,
          "azimuthAngle": 10,
          "button": 1,
          "height": 3,
          "pressure": 4,
          "tangentialPressure": 5,
          "tiltX": 6,
          "tiltY": 7,
          "twist": 8,
          "type": "pointerDown",
          "width": 2,
        },
        {
          "button": 2,
          "type": "pointerDown",
        },
        {
          "button": 0,
          "duration": 100,
          "origin": "viewport",
          "type": "pointerMove",
          "x": 100,
          "y": 200,
        },
        {
          "duration": 100,
          "type": "pause",
        },
        {
          "altitudeAngle": 8,
          "azimuthAngle": 9,
          "button": 0,
          "duration": 12,
          "height": 2,
          "origin": "viewport",
          "pressure": 3,
          "tangentialPressure": 4,
          "tiltX": 5,
          "tiltY": 6,
          "twist": 7,
          "type": "pointerMove",
          "width": 1,
          "x": 10,
          "y": 11,
        },
        {
          "button": 2,
          "type": "pointerUp",
        },
        {
          "button": 1,
          "type": "pointerUp",
        },
        {
          "type": "pointerCancel",
        },
      ],
      "id": "foobar",
      "parameters": {
        "pointerType": "pen",
      },
      "type": "pointer",
    },
  ],
}
`;

exports[`action command > should support wheel actions 1`] = `
{
  "actions": [
    {
      "actions": [
        {
          "duration": 100,
          "type": "pause",
        },
        {
          "deltaX": 2,
          "deltaY": 3,
          "duration": 4,
          "type": "scroll",
          "x": 0,
          "y": 1,
        },
      ],
      "id": "foobar",
      "parameters": {},
      "type": "wheel",
    },
  ],
}
`;