drogus / culerity-javascript-example
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
culerity-javascript-example / features / javascript.feature
| 921ea4b3 » | drogus | 2009-06-16 | 1 | Feature: Javascript | |
| 2 | In order to test javascript | ||||
| 3 | As a developer | ||||
| 4 | I need a way to run test scenarios with javascript enabled or disabled | ||||
| 5 | |||||
| 6 | @js | ||||
| 7 | Scenario: With javascript | ||||
| 8 | Given I am on the homepage | ||||
| 9 | And I follow "Click me!" | ||||
| 10 | Then I should see "Javascript rocks!" | ||||
| 11 | |||||
| 12 | Scenario: Without javascript | ||||
| 13 | Given I am on the homepage | ||||
| 14 | And I follow "Click me!" | ||||
| 15 | Then I should see "I am also working without javascript!" | ||||
