Sha256: 68b7841aff6416cf88d66387440e9f681b54668d525818022f9ed233fe68f70d
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 Bytes
Contents
require 'calabash-cucumber/core' require 'calabash-cucumber/operations' class Calabash::IBase include Calabash::Cucumber::Operations def initialize(world) @world = world end def embed(*args) @world.send(:embed,*args) end def puts(*args) @world.send(:puts, *args) end def trait "navigationItemView marked:'#{self.title}'" end def base(clz,*args) clz.new(@world,*args) end def await(opts={}) wait_for_elements_exist([trait], opts) self end def await_screenshot(wait_opts={},screenshot_opts={}) await(wait_opts) screenshot_embed(screenshot_opts) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
calabash-cucumber-0.9.118 | lib/calabash-cucumber/ibase.rb |
calabash-cucumber-0.9.117 | lib/calabash-cucumber/ibase.rb |