features/indexed_property.feature in page-object-1.0.3 vs features/indexed_property.feature in page-object-1.1.0

- old
+ new

@@ -69,10 +69,20 @@ | index | | foo | | 123 | | 12test | + Scenario Outline: Locating indexed text fields by index in a table on the page + When I search for the elements for index "<index>" + And I select the table's indexed radio button + Then The table's indexed radio button should be selected + + Scenarios: + | index | + | 0 | + | 1 | + Scenario Outline: Locating indexed text fields outside a table on the Page When I search for the elements for index "<index>" And I type "I found it" into the regular indexed text field by id Then The regular indexed text field by id should contain "I found it" @@ -93,6 +103,15 @@ Then I should see that the element doesn't exist for that index Scenario: Index on first indexed property and different on second When I search for an element with text by an index on an indexed property And I search using an index which is on another indexed property - Then I should see the content of the element on the second indexed property + Then I should see the content of the element on the second indexed property + + Scenario: Different indexes on stored indexed property + When I search for an element with text by an index on an indexed property + And I search for a different element with text by index on the indexed property + Then I should see the contents of both elements + + Scenario: Can't redefine ruby methods + When I use a name that collides with a ruby method on an indexed property + Then the original method remains \ No newline at end of file