Sha256: 543b608d31fb774393ddc6c293c5c896dfb416fb37c7e8424f7408005bb3b767

Contents?: true

Size: 572 Bytes

Versions: 1

Compression:

Stored size: 572 Bytes

Contents

# Page Object class definition for Custom Controls page with CSS locators

class CustomControlsPage < BaseTestPage
  trait(:page_name)    { 'Custom Controls' }
  trait(:page_locator) { 'div.custom-controls-page-body' }
  trait(:page_url)     { '/custom_controls_page.html' }
  trait(:navigator)    { header_nav.open_custom_controls_page }

  def verify_page_ui
    ui = {
      self         => { exists: true, secure: false, title: 'Custom Controls Page' },
      header_label => { visible: true, caption: 'Custom Controls Page' }
    }
    verify_ui_states(ui)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
testcentricity_web-4.1.7 features/support/pages/custom_controls_page.rb