There should not be any reason for a scenario to contain duplicated steps.

Noncompliant Code Example

Background:
  Given I am a customer
  And I am on the catalog page

Scenario: Add a product to my cart
  Given I am on the catalog page    # Noncompliant: Step is already defined in Background
  When I add a product to my cart
  Then I should see the product in my cart

Scenario: Adding more than two products to my cart triggers an error message stating that it is not possible to add more than two products to the cart
  When I add a product to my cart
  And I add a product to my cart    # Noncompliant: Same as previous step
  And I add a product to my cart    # Noncompliant: Same as previous step
  Then I should be told that I cannot add more than two products to my cart

Compliant Solution

Background:
  Given I am a customer
  And I am on the catalog page

Scenario: Add a product to my cart
  When I add a product to my cart
  Then I should see the product in my cart

Scenario: Adding more than two products to my cart triggers an error message stating that it is not possible to add more than two products to the cart
  When I add 3 products to my cart
  Then I should be told that I cannot add more than two products to my cart