features/async.feature in page-object-0.5.3 vs features/async.feature in page-object-0.5.4
- old
+ new
@@ -1,11 +1,18 @@
Feature: Handling Asynch calls
- Background:
- Given I am on the static elements page
-
Scenario: Link element methods
+ Given I am on the static elements page
When I retrieve a link element
Then I should be able to wait until it is present
And I should be able to wait until it is visible
And I should be able to wait until it is not visible
- And I should be able to wait until a block returns true
\ No newline at end of file
+ And I should be able to wait until a block returns true
+
+ Scenario: Click a button when it is visible
+ Given I am on the async elements page
+ When I make the button invisible
+ Then I should be able to click it when it becomses visible
+
+ Scenario: Wait until something is not visible
+ Given I am on the async elements page
+ Then I should be able to wait until the button becomes invisible