examples/cucumber/example.feature in watirgrid-1.1.1 vs examples/cucumber/example.feature in watirgrid-1.1.2
- old
+ new
@@ -1,17 +1,11 @@
-@Example
-Feature: Watirgrid using WebDriver
- In order to use Watirgrid
- Users must be able to create controllers, add providers and control a grid
+@NFR-001
+Feature: User logons
+ In order to use the web application users must be
+ able to logon and access the portal in 3 seconds
- Scenario: Create a Controller with Providers
- Given I have created and started a Controller
- Then I should be able to create and start 2 "WebDriver" Providers
-
- # Note: WebDriver can only control one instance of any particular browser on a single host.
- # With Watirgrid, you'd typically have multiple instances across multiple hosts (Providers)
- # For the sake of a demo, we'll just control 2 difference instances on a single host.
- Scenario: Create a Grid and control the Providers
- Given I have created and started a Grid with 2 Providers
- Then I should be able to control the following browsers in parallel:
- | Chrome |
- | Firefox |
+ Scenario: Logon with 50 users in 1 minute
+ Given 50 users open "chrome"
+ And navigate to the portal
+ When they enter their credentials
+ Then they should see their account settings
+ And the response time should be less than 3 seconds