Class: SiteType

Inherits:
SiteSetupBase show all
Defined in:
lib/sambal-cle/page_objects/site_setup.rb

Overview

The Site Type page that appears when creating a new site

Instance Method Summary collapse

Methods inherited from SiteSetupBase

menu_elements

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#continueObject

FIXME



393
394
395
396
397
398
399
400
401
402
# File 'lib/sambal-cle/page_objects/site_setup.rb', line 393

def continue #FIXME
  if frm.button(:id, "submitBuildOwn").enabled?
    frm.button(:id, "submitBuildOwn").click
  elsif frm.button(:id, "submitFromTemplateCourse").enabled?
    frm.button(:id, "submitFromTemplateCourse").click
  elsif frm.button(:id, "submitFromTemplate").enabled?
    frm.button(:id, "submitFromTemplate").click
  end

end