Sha256: 2109df10292cdc86f0d87c327e65896a0a86cffbd330889b09260a3a5ab7e86b

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

Feature:  Working with combo boxes

  Scenario: Selecting items by index
    When I select index "2" from the "fruits" combo box
    Then the "Coconut" option should be selected in the "fruits" combo box

  Scenario: Selecting items by value
    When I select the value "Orange" from the "fruits" combo box
    Then the "Orange" option should be selected in the "fruits" combo box

  Scenario: Selecting multiple items
    Given we toggle the multi-select button
    When I select indexes "0, 1, 2" from the "fruits_list" combo box
    Then the "Apple, Orange, Mango" options should be selected in the "fruits_list" combo box

  Scenario: Clearing items by index
    Given we toggle the multi-select button
    When I select indexes "0, 1, 2" from the "fruits_list" combo box
    But I clear the item at index "1" from the "fruits_list" combo box
    Then the "Apple, Mango" options should be selected in the "fruits_list" combo box

  Scenario: Clearing items by value
    Given we toggle the multi-select button
    When I select indexes "0, 1, 2" from the "fruits_list" combo box
    But I clear item "Mango" from the "fruits_list" combo box
    Then the "Apple, Orange" options should be selected in the "fruits_list" combo box

  Scenario: Getting the available options
    When I look at the options for the "fruits" combo box"
    Then I should see the following options:
      | Option        |
      | Apple         |
      | Caimito       |
      | Coconut       |
      | Orange        |
      | Passion Fruit |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mohawk-0.1.4 features/combo_box.feature
mohawk-0.1.0 features/combo_box.feature