as Fred Smith Then I expect to be on Fred Smith’s user account page But wait... It’s a specification... It’s documentation... It’s an automated test... Sunday, 3 March 13
to buy something to drink with As any user I should be able to add a coffee mug to my cart Scenario: View the drinking options text and links on the page Given I am on the homepage When I click "To drink with" Then I should see the heading "Coffee Mugs" And I should see the link "Drupal Commerce to Wake You Up" Scenario: View coffee mug product information Given I am on the homepage When I click "To drink with" And I click "Drupal Commerce to Wake You Up" Then I should see the following <texts> | texts | | Drupal Commerce to Wake You Up | | Acme gear | | $8.00 | | Product Description | | SKU: MG1-BLU-OS | ... todrink.feature Sunday, 3 March 13