Module: DeletePagePopUp

Includes:
PageObject
Defined in:
lib/sakai-oae-test-api/pop_up_dialogs.rb

Overview

Methods for the “Delete” Pop-up dialog.

Instance Method Summary collapse

Methods included from PageObject

#method_missing, #name_li, #name_link

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PageObject

Instance Method Details

#deleteObject

Clicks the Delete button, then waits for any ajax calls to finish.



698
699
700
701
# File 'lib/sakai-oae-test-api/pop_up_dialogs.rb', line 698

def delete
  self.delete_button
  self.wait_for_ajax
end

#dont_deleteObject

Clicks the “Don’t delete” button, then waits for any Ajax calls to complete



705
706
707
708
# File 'lib/sakai-oae-test-api/pop_up_dialogs.rb', line 705

def dont_delete
  self.dont_delete_button
  self.wait_for_ajax
end