Sha256: deb68cedaa5d725a7f59f71660824ce2f40ee966df8f0f3ad948a0ca6ddd2c11

Contents?: true

Size: 1.42 KB

Versions: 3

Compression:

Stored size: 1.42 KB

Contents

Feature: Ability to Support Button Web Objects
  
  Scenario: Reference a button
    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 should be a button object
    
  Scenario: Get text from a button
    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 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 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 object test page is clicked by "<locator>"
    Then the first success page appears
    
    Scenarios:
      | locator |
      | id      |
      | name    |
      | class   |
      | xpath   |
      | index   |
      | value   |
      | text    |

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
symbiont-0.1.3 specs/button.feature
symbiont-0.1.2 specs/button.feature
symbiont-0.1.1 specs/button.feature