Skip to content

Instantly share code, notes, and snippets.

@ddikman
Created July 28, 2021 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddikman/50909154987d9a6e4f0ce191515932b3 to your computer and use it in GitHub Desktop.
Save ddikman/50909154987d9a6e4f0ce191515932b3 to your computer and use it in GitHub Desktop.
Example of google tests from https://github.com/ddikman/cucumber-web-tests
Feature: Google Search
Scenario: Searching a term will generate results
Given the user is on google top page
When searching for "greycastle ab software"
Then the first match is "Greycastle - Greycastle"
Scenario: The lucky feature will navigate straight to the first match
Given the user is on google top page
When entering "greycastle ab software"
And tapping I'm lucky
Then navigates to "https://www.greycastle.se"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment