Sha256: 5c562d92556b963e755fcc799773f2bfb2ae2c38f83c6f090270f8f673318e58

Contents?: true

Size: 447 Bytes

Versions: 9

Compression:

Stored size: 447 Bytes

Contents

class TestWebScreen < PM::WebScreen

  title "WebScreen Test"

  attr_accessor :load_started, :load_failed, :load_finished, :load_failed_error

  def load_started
    self.load_started = true
  end

  def load_finished
    self.load_finished = true
  end

  def load_failed(error)
    puts "Load Failed: #{error.localizedDescription}"
    puts error.localizedFailureReason
    self.load_failed = true
    self.load_failed_error = error
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ProMotion-1.1.2 spec/helpers/web_screen.rb
ProMotion-1.1.1 spec/helpers/web_screen.rb
ProMotion-1.1.0 spec/helpers/web_screen.rb
ProMotion-1.1.0.rc1 spec/helpers/web_screen.rb
ProMotion-1.0.4 spec/helpers/web_screen.rb
ProMotion-1.0.3 spec/helpers/web_screen.rb
ProMotion-1.0.2 spec/helpers/web_screen.rb
ProMotion-1.0.1 spec/helpers/web_screen.rb
ProMotion-1.0.0 spec/helpers/web_screen.rb