Sha256: 02951b80346f4338091b9aa278a6fdd8012f5d51725a9d7c2cc69e514939af2d

Contents?: true

Size: 616 Bytes

Versions: 9

Compression:

Stored size: 616 Bytes

Contents

module Demo
  class HomePage
    include RSpec::Core::DSL
    attr_reader :elements
    def initialize
      @elements = Demo::Elements::HomePage.new
    end

    def home
      @browser.goto(@test_data['demo'][:base_urls][$environment][:demo_home])
      @elements.tabs.registration.wait_until_present
      screen_shot('Landed on Home Page')
    end

    def registration
      home
      @elements.tabs.registration.wait_until_present
      @elements.tabs.registration.click
      @demo_registrationpage.elements.step_1_next.wait_until_present
      screen_shot('Landed on Registration Page')
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
whirlwind-0.1.8 sites/demo/flows/home_flows.rb
whirlwind-0.1.7 sites/demo/flows/home_flows.rb
whirlwind-0.1.6 sites/demo/flows/home_flows.rb
whirlwind-0.1.5 sites/demo/flows/home_flows.rb
whirlwind-0.1.4 sites/demo/flows/home_flows.rb
whirlwind-0.1.3 sites/demo/flows/home_flows.rb
whirlwind-0.1.2 sites/demo/flows/home_flows.rb
whirlwind-0.1.1 sites/demo/flows/home_flows.rb
whirlwind-0.1.0 sites/demo/flows/home_flows.rb