specs/button.feature in symbiont-0.0.4 vs specs/button.feature in symbiont-0.1.0
- old
+ new
@@ -1,37 +1,37 @@
Feature: Ability to Support Button Web Objects
-
+
Scenario: Reference a button
- When on the test page
+ When on the object test page
Then the click me button should exist
And the click me button should be visible
And the click me button should be enabled
- And the click me button object should be usable
-
+ And the click me button should be a button object
+
Scenario: Get text from a button
- When on the test page
+ When on the object test page
Then the text of the click me button should be "Click Me"
-
+
Scenario: Click a button
- When the click me button on the test page is clicked
- Then the success page appears
-
- Scenario: A non-existent button
- When on the test page
+ When the click me button on the simple object test page is clicked
+ Then the first success page appears
+
+ Scenario: Handling a non-existent button
+ When on the object test page
Then the fake button should not exist
- But the fake button object should be usable
-
- Scenario: A disabled button
- When on the test page
- Then the disabled button should exist
- And the disabled button should be visible
- And the disabled button should not be enabled
- And the text of the disabled button should be "Can't Click Me"
- But the disabled button object should be usable
+ But the fake button should be a button object
+
+ Scenario: Handling a disabled button
+ When on the object test page
+ Then the can't click me button should exist
+ And the can't click me button should be visible
+ And the text of the can't click me button should be "Can't Click Me"
+ And the can't click me button should be a button object
+ But the can't click me button should not be enabled
Scenario Outline: Finding buttons with locators
- When the click me button on the test page is clicked by "<locator>"
- Then the success page appears
+ When the click me button on the object test page is clicked by "<locator>"
+ Then the first success page appears
Scenarios:
| locator |
| id |
| name |