Module: MessagesDraftListMethods

Includes:
PageObject
Defined in:
lib/kuali-sakai-common-lib/messages.rb

Overview

The page showing the list of Draft messages.

Instance Method Summary collapse

Instance Method Details

#alert_message_textObject

Grabs the text from the message box that appears after doing some action.

Use this method to simplify writing Test::Unit asserts



411
412
413
# File 'lib/kuali-sakai-common-lib/messages.rb', line 411

def alert_message_text
  frm.span(:class=>"success").text
end

#compose_messageObject



400
401
402
403
# File 'lib/kuali-sakai-common-lib/messages.rb', line 400

def compose_message
  frm.link(:text=>"Compose Message").click
  ComposeMessage.new(@browser)
end