🏡 index : quine-global/webdriverio.git

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

exports[`utils > addKeywordToStep should add keywords to the steps 1`] = `
[
  {
    "astNodeIds": [
      "0",
    ],
    "id": "20",
    "keyword": "Given ",
    "text": "I have a background",
  },
  {
    "astNodeIds": [
      "2",
    ],
    "id": "21",
    "keyword": "Given ",
    "text": "I have 42 cukes in my belly",
  },
  {
    "hookId": "47",
    "id": "77",
  },
]
`;

exports[`utils > buildStepPayload 1`] = `
{
  "argument": undefined,
  "featureName": "some feature",
  "file": "uri",
  "parent": "321",
  "scenarioName": undefined,
  "tags": [
    {
      "name": "some tag",
    },
  ],
  "title": "Given title",
  "type": "step",
  "uid": "123",
}
`;

exports[`utils > createStepArgument > Works with DataTable 1`] = `
{
  "rows": [
    {
      "cells": [
        "1",
        "2",
      ],
    },
    {
      "cells": [
        "3",
        "4",
      ],
    },
    {
      "cells": [
        "5",
        "6",
      ],
    },
  ],
}
`;

exports[`utils > formatMessage > should set passed state for test hooks 1`] = `
{
  "state": "passed",
}
`;