Skip to content
Browse files

Improved scenario skeletons for hw3

  • Loading branch information...
1 parent 22244ae commit 608f923ec2fe8847bd2f26afb8a6ce309e6f5dc8 @armandofox armandofox committed
Showing with 14 additions and 5 deletions.
  1. +12 −1 features/filter_movie_list.feature
  2. +2 −4 features/sort_movie_list.feature
View
13 features/filter_movie_list.feature
@@ -19,6 +19,17 @@ Background: movies have been added to database
| Raiders of the Lost Ark | PG | 12-Jun-1981 |
| Chicken Run | G | 21-Jun-2000 |
+ And I am on the RottenPotatoes home page
+
+Scenario: restrict to movies with 'PG' or 'R' ratings
+ # enter step(s) to check the 'PG' and 'R' checkboxes
+ # enter step(s) to uncheck all other checkboxes
+ # enter step to "submit" the search form on the homepage
+ # enter step(s) to ensure that PG and R movies are visible
+ # enter step(s) to ensure that other movies are not visible
+Scenario: no checkboxes selected
+ # see assignment
-
+Scenario: all checkboxes selected
+ # see assignment
View
6 features/sort_movie_list.feature
@@ -19,13 +19,11 @@ Background: movies have been added to database
| Raiders of the Lost Ark | PG | 12-Jun-1981 |
| Chicken Run | G | 21-Jun-2000 |
-Feature: sort movies alphabetically
+ And I am on the RottenPotatoes home page
- Given I am on the RottenPotatoes home page
+Feature: sort movies alphabetically
# your steps here
Feature: sort movies in increasing order of release_date
-
- Given I am on the RottenPotatoes home page
# your steps here

0 comments on commit 608f923

Please sign in to comment.
Something went wrong with that request. Please try again.