Class: MessagesDraftList
- Defined in:
- lib/sambal-cle/page_objects/messages.rb
Overview
The page showing the list of Draft messages.
Instance Method Summary collapse
-
#alert_message_text ⇒ Object
Grabs the text from the message box that appears after doing some action.
- #compose_message ⇒ Object
Methods inherited from BasePage
basic_page_elements, frame_element
Instance Method Details
#alert_message_text ⇒ Object
Grabs the text from the message box that appears after doing some action.
Use this method to simplify writing Test::Unit asserts
410 411 412 |
# File 'lib/sambal-cle/page_objects/messages.rb', line 410 def frm.span(:class=>"success").text end |
#compose_message ⇒ Object
399 400 401 402 |
# File 'lib/sambal-cle/page_objects/messages.rb', line 399 def frm.link(:text=>"Compose Message").click ComposeMessage.new(@browser) end |