Created
March 14, 2012 18:09
-
-
Save elotroalex/2038306 to your computer and use it in GitHub Desktop.
cucumber test for i18n
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: Check language | |
In order to test the selected language is right | |
As a cosmopolitan developer | |
I want to make sure the right words are present in the header | |
Scenario: English pages | |
Given the language is set to English | |
When I visit the homepage | |
Then the header should have the words 'Prism is a tool' | |
Scenario: French pages | |
Given the language is set to French | |
When I visit the homepage | |
Then the header should have the word 'Prism est un ensemble' | |
Scenario: Spanish pages | |
Given the language is set to Spanish | |
When I visit the homepage | |
Then the header should have the words 'Prism es un conjunto' | |
Scenario: German pages | |
Given the language is set to German | |
When I visit the homepage | |
Then the header should have the words 'Prism ist ein Satz' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment