🏡 index : quine-global/webdriverio.git

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

exports[`dragAndDrop > should allow drag and drop to 0 coordinates 1`] = `
[
  {
    "actions": [
      {
        "button": 0,
        "duration": 0,
        "origin": {
          "element-6066-11e4-a52e-4f735466cecf": "some-elem-123",
        },
        "type": "pointerMove",
        "x": 0,
        "y": 0,
      },
      {
        "button": 0,
        "type": "pointerDown",
      },
      {
        "duration": 10,
        "type": "pause",
      },
      {
        "button": 0,
        "duration": 10,
        "origin": "pointer",
        "type": "pointerMove",
        "x": 0,
        "y": 0,
      },
      {
        "button": 0,
        "type": "pointerUp",
      },
    ],
    "id": "action5",
    "parameters": {
      "pointerType": "mouse",
    },
    "type": "pointer",
  },
]
`;

exports[`dragAndDrop > should do a dragAndDrop 1`] = `
[
  {
    "actions": [
      {
        "button": 0,
        "duration": 0,
        "origin": {
          "element-6066-11e4-a52e-4f735466cecf": "some-elem-123",
        },
        "type": "pointerMove",
        "x": 0,
        "y": 0,
      },
      {
        "button": 0,
        "type": "pointerDown",
      },
      {
        "duration": 10,
        "type": "pause",
      },
      {
        "button": 0,
        "duration": 10,
        "origin": {
          "element-6066-11e4-a52e-4f735466cecf": "some-sub-elem-321",
        },
        "type": "pointerMove",
        "x": 0,
        "y": 0,
      },
      {
        "button": 0,
        "type": "pointerUp",
      },
    ],
    "id": "action1",
    "parameters": {
      "pointerType": "mouse",
    },
    "type": "pointer",
  },
]
`;

exports[`dragAndDrop > should do a dragAndDrop for mobile 1`] = `
[
  {
    "actions": [
      {
        "button": 0,
        "duration": 0,
        "origin": {
          "element-6066-11e4-a52e-4f735466cecf": "some-elem-123",
        },
        "type": "pointerMove",
        "x": 0,
        "y": 0,
      },
      {
        "button": 0,
        "type": "pointerDown",
      },
      {
        "duration": 10,
        "type": "pause",
      },
      {
        "button": 0,
        "duration": 250,
        "origin": {
          "element-6066-11e4-a52e-4f735466cecf": "some-sub-elem-321",
        },
        "type": "pointerMove",
        "x": 0,
        "y": 0,
      },
      {
        "button": 0,
        "type": "pointerUp",
      },
    ],
    "id": "action3",
    "parameters": {
      "pointerType": "touch",
    },
    "type": "pointer",
  },
]
`;

exports[`dragAndDrop > should do a dragAndDrop with coordinates 1`] = `
[
  {
    "actions": [
      {
        "button": 0,
        "duration": 0,
        "origin": {
          "element-6066-11e4-a52e-4f735466cecf": "some-elem-123",
        },
        "type": "pointerMove",
        "x": 0,
        "y": 0,
      },
      {
        "button": 0,
        "type": "pointerDown",
      },
      {
        "duration": 10,
        "type": "pause",
      },
      {
        "button": 0,
        "duration": 10,
        "origin": "pointer",
        "type": "pointerMove",
        "x": 123,
        "y": 321,
      },
      {
        "button": 0,
        "type": "pointerUp",
      },
    ],
    "id": "action4",
    "parameters": {
      "pointerType": "mouse",
    },
    "type": "pointer",
  },
]
`;

exports[`dragAndDrop > should resolve target element 1`] = `undefined`;