Class: DuplicateSite

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

Overview

The first page of the Duplicate Site pages in the Site Editor.

Instance Method Summary collapse

Methods inherited from SiteSetupBase

menu_elements

Methods inherited from BasePage

basic_page_elements, frame_element

Instance Method Details

#duplicateObject



166
167
168
169
# File 'lib/sambal-cle/page_objects/site_setup.rb', line 166

def duplicate
  frm.button(:value=>"Duplicate").click
  frm.span(:class=>"submitnotif").wait_while_present(300)
end

#site_nameObject

Returns the site name in the header, for verification.



172
173
174
# File 'lib/sambal-cle/page_objects/site_setup.rb', line 172

def site_name
  frm.div(:class=>"portletBody").h3.span(:class=>"highlight").text
end