Module: LeaveWorldPopUp

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

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

#cancelObject

Clicks the “Cancel” button and waits for Ajax calls to complete



816
817
818
819
# File 'lib/sakai-oae-test-api/pop_up_dialogs.rb', line 816

def cancel
  self.div(:id=>"mymemberships_delete_membership_dialog").button(:class=>"s3d-link-button s3d-bold jqmClose").click
  self.linger_for_ajax(1)
end

#yes_applyObject

Clicks the “Yes, Apply” button and waits for Ajax calls to finish



808
809
810
811
812
# File 'lib/sakai-oae-test-api/pop_up_dialogs.rb', line 808

def yes_apply
  self.button(:id=>"mymemberships_delete_membership_confirm").click
  sleep 1.5
  self.linger_for_ajax(2)
end