Docs
API 1.39
Status
Lint codes

E012

nesting depth > 3, > 200 steps, > 256 KB, > 500 extract fields or nested deeper than 32

Error: nesting depth > 3, > 200 steps, > 256 KB, > 500 extract fields or nested deeper than 32.

A version with this finding cannot be published.

#Example

The contract fixture E012-nesting-too-deep reports E012 at steps:

{
  "kaab": "1",
  "steps": [
    {
      "when": {
        "visible": ".a"
      },
      "do": [
        {
          "when": {
            "visible": ".b"
          },
          "do": [
            {
              "when": {
                "visible": ".c"
              },
              "do": [
                {
                  "when": {
                    "visible": ".d"
                  },
                  "do": [
                    {
                      "reload": true
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Was this page helpful?