Sha256: 391026a1fc651e7e8ed17d83428770758ec8b72d3129110c9ff8bca428560b93

Contents?: true

Size: 1.88 KB

Versions: 5

Compression:

Stored size: 1.88 KB

Contents

Feature: Ability to Support Text Field Web Objects
  
  Scenario: Reference a text field
    When on the object test page
    Then the book title text field should exist
    And the book title text field should be visible
    And the book title text field should be enabled
    And the book title text field should be a text field object
    
  Scenario: Set text in a text field and get text from it
    When the book title on the simple object test page is set to "Revelation Space"
    Then the book title should be "Revelation Space"
    
  Scenario: Append text to a text field
    When the book title on the simple object test page is set to "Absolution"
    And the text " Gap" is added to the book title
    Then the book title should be "Absolution Gap"
  
  Scenario: Handling a non-existent text field
    When on the object test page
    Then the fake text field should not exist
    And the fake text field should not be visible
    But the fake text field should be a text field object
  
  Scenario: Handling a disabled text field
    When on the object test page
    Then the book publisher ID text field should exist
    And the book publisher ID text field should be visible
    And the text of the book publisher ID text field should be "ESC:001678:FNC"
    And the book publisher ID text field object should be a text field object
    But the book publisher ID text field should not be enabled
    
  Scenario: Handling a non-declared text field
    When the book author on the simple object test page is set to "Alastair Reynolds"
    Then the book author should be "Alastair Reynolds"

  Scenario Outline: Finding text fields with locators
    When the book title text field on the object test page is set by "<locator>"
    Then the book title should be "Revelation Space"
    
    Scenarios:
      | locator |
      | id      |
      | name    |
      | class   |
      | xpath   |
      | index   |

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
symbiont-0.1.7 specs/text_field.feature
symbiont-0.1.6 specs/text_field.feature
symbiont-0.1.5 specs/text_field.feature
symbiont-0.1.4 specs/text_field.feature
symbiont-0.1.3 specs/text_field.feature