features/support/page.rb in page-object-0.6.2 vs features/support/page.rb in page-object-0.6.3
- old
+ new
@@ -1,7 +1,10 @@
class Page
include PageObject
+ expected_title "Static Elements Page"
+ expected_element :hello0
+
link(:hello0, {:text => "Hello", :index => 0})
link(:hello1, {:text => "Hello", :index => 1})
link(:hello2, {:text => "Hello", :index => 2})
text_field(:text_field_id, :id => "text_field_id")