A Scenario Outline with steps using variables that are not defined in the Examples data table is not valid. Thus, missing columns must be added to the data table.

Noncompliant Code Example

Scenario Outline: Add product to cart
  Given I am a customer
  When I add <number> <type> items to my cart
  Then I should see <number> <type> items in my cart

  Examples:     # Noncompliant: Missing  'type' column
    | number |
    | 1      |
    | 2      |

Compliant Solution

Scenario Outline: Add product to cart
  Given I am a customer
  When I add <number> <type> items to my cart
  Then I should see <number> <type> items in my cart

  Examples:
    | number | type |
    | 1      | book |
    | 2      | bike |