Skip to content

Instantly share code, notes, and snippets.

@prashanth-sams
Created February 29, 2020 13:16
Show Gist options
  • Save prashanth-sams/a6b67f63df0d70d189c0a15d94e07fc8 to your computer and use it in GitHub Desktop.
Save prashanth-sams/a6b67f63df0d70d189c0a15d94e07fc8 to your computer and use it in GitHub Desktop.
Sample Cucumber test
Feature: Google search
Background: Google Home page
Given I navigate to Google home page
Scenario: C845 Verify Google Home Page
Then I verify the Google home page
Scenario: C847 C850 Verify Google Home Page x2
Then I fail to load Google home page
Scenario Outline: C853 Verify Google search
And I search for <keyword>
Then I verify <result> in the search result page
Examples:
| keyword | result |
| Jesus | Jesus |
| Bible | My saviour |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment