Last active
December 18, 2015 14:39
-
-
Save hoitomt/5798628 to your computer and use it in GitHub Desktop.
Cucumber Tests for Meeting
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: Ratings and Reviews | |
As a User, | |
In order to rate a listing | |
I should be able to leave a review for a listing | |
Scenario: Successfully submit the review | |
Given a Ratings and Review form for a Listing | |
When the form is submitted with valid information | |
Then the browser should be redirected to the R&R Thank You page | |
And the ratings count should be incremented by 1 for the listing | |
Scenario: Invalid Captcha | |
Given a Ratings and Review form for a listing | |
When the form is submitted with an invalid Captcha | |
Then the browser should remain on the current Listing form | |
and the ratings count should not be incremented for the listing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you tell github this file's syntax is markdown and then wrap it in
you'll get nice syntax highlighting.