Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
dynamic-websites/exercises/03_acceptance/cucumber/features/add_one.feature
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
11 lines (10 sloc)
391 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Adding Items | |
The user should be able to add a single item to the list. | |
Scenario: add item via webpage | |
Given The browser is open on the home page | |
When I enter "bread" in the "item" field | |
When I enter "42" in the "qty" field | |
When I click on the submit button | |
Then the heading should be "ToDo List" | |
Then the list should contain "1" row | |
Then the item should be "bread" |