Advertisement
Guest User

Untitled

a guest
May 31st, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. test 'should display correct validation message a consumption' do
  2. type 'OX169BX', into: POSTCODE_FIELD
  3. click FIND_ADDRESS
  4. choose FIRST_ADDRESS
  5. choose USAGE_KNOWN
  6.  
  7. type '', return: true, into: CONSUMPTION_TOTAL_FIELD
  8. blur
  9.  
  10. assert_equal 'Please enter your usage in kwh', error_message_for_field(find(CONSUMPTION_TOTAL_FIELD))
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement