Module: ProfilePermissionsPopUp

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

Overview

Methods and objects for the Profile Permissions Pop Up–that appears when you select the Permissions item for the “My Profile” pages.

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

#apply_permissionsObject

Clicks the “Apply permissions” button



1030
1031
1032
1033
# File 'lib/sakai-oae-test-api/pop_up_dialogs.rb', line 1030

def apply_permissions
  self.apply_permissions_button
  self.linger_for_ajax
end

#cancelObject

Clicks the “Cancel” button



1036
1037
1038
# File 'lib/sakai-oae-test-api/pop_up_dialogs.rb', line 1036

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