Module: MessagesDraftListMethods
- Includes:
- PageObject
- Defined in:
- lib/kuali-sakai-common-lib/messages.rb
Overview
The page showing the list of Draft messages.
Class Method Summary collapse
Instance Method Summary collapse
-
#alert_message_text ⇒ Object
Grabs the text from the message box that appears after doing some action.
- #compose_message ⇒ Object
Class Method Details
.page_elements(identifier) ⇒ Object
421 422 423 424 425 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 421 def self.page_elements(identifier) in_frame(identifier) do |frame| link(:check_all, :text=>"Check All", :frame=>frame) end end |
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
417 418 419 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 417 def frm.span(:class=>"success").text end |
#compose_message ⇒ Object
406 407 408 409 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 406 def frm.link(:text=>"Compose Message").click ComposeMessage.new(@browser) end |