Created
July 14, 2010 14:45
-
-
Save andreimaxim/475494 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: Localization | |
| As a Japanese visitor | |
| I want to access a localized version of seesmic.com | |
| In order to have a better user experience with Seesmic Web | |
| Scenario: Redirect based on UserAgent | |
| Given a Japanese browser UserAgent | |
| When I visit seesmic.com | |
| Then I should get redirected to seesmic.jp | |
| Scenario: Sign in with Twitter | |
| Given I am on the home page | |
| When I click on "Sign in with Twitter" | |
| Then I should be redirected to Twitter | |
| And I should be able to allow Seesmic Web access to my Twitter account | |
| And I should se | |
| Scenario: Log into Japanese Seesmic Web | |
| Given I am on the home page | |
| When I fill in "username" with "seesmic_jp" | |
| And I fill in "password" with "secret" | |
| And I press "ログイン" | |
| Then I should be redirected to "http://seesmic.com/web/index.html" | |
| And the interface should be in Japanese | |
| Scenario: Failed login | |
| Given I am on the home page | |
| When I fill in the "username" with "wrong_user" | |
| And I fill in "password" with "wrong_secret" | |
| And I press "ログイン" | |
| Then I should see "Wrong username or password" | |
| Scenario: Remember language settings | |
| Given I am on the home page | |
| And I have selected the "French" interface | |
| When I log in | |
| Then I should be redirected to "http://seesmic.com/web/index.html" | |
| And the interface should be in "French" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment