features/frames.feature in page-object-0.5.0 vs features/frames.feature in page-object-0.5.1
- old
+ new
@@ -33,5 +33,25 @@
And I should verify "page-object" is in the text field for frame 1 using "id"
Scenario: Nested frames
Given I am on the nested frame elements page
Then I should be able to click the link in the frame
+
+ Scenario: Identifying items in frames at runtime
+ Given I am on the frame elements page
+ When I type "page-object" into the text field from frame 1 identified dynamically
+ Then I should verify "page-object" in the text field for frame 1 identified dynamically
+
+ Scenario: Handling alerts inside frames
+ Given I am on the frame elements page
+ When I trigger an alert within a frame
+ Then I should be able to get the alert's message
+
+ Scenario: Handling confirms inside frames
+ Given I am on the frame elements page
+ When I trigger a confirm within a frame
+ Then I should be able to get the confirm message
+
+ Scenario: Handling prompts inside frames
+ Given I am on the frame elements page
+ When I trigger a prompt within a frame
+ Then I should be able to get the message and default value