Module: OurAgreementPopUp

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

#no_please_log_me_outObject

Clicks the “No, please log me out” button, then returns the LoginPage class object.



901
902
903
# File 'lib/sakai-oae-test-api/pop_up_dialogs.rb', line 901

def no_please_log_me_out

end

#yes_I_acceptObject

Clicks the “Yes, I accept” button, then returns the MyDashboard class object.



907
908
909
910
911
# File 'lib/sakai-oae-test-api/pop_up_dialogs.rb', line 907

def yes_I_accept
  self.yes_button
  self.wait_for_ajax
  MyDashboard.new @browser
end