Sha256: 818c6db9abbe36d8a65d23cde2afd532533535f29cb0ff37658e651fd24cbb91

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

Given(/^I have navigated to the webview screen$/) do
  on(WebviewMainScreen).goto_webview
end

When(/^I click the text "(.*?)"  in a webview$/) do |text|
  on(WebviewScreen).click_on_text text
end

Then(/^I should see the text "(.*?)" in a webview$/) do |text|
  on(WebviewScreen) do |screen|
    screen.wait_for_text text
    screen.has_text? text
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gametel-0.7 features/step_definitions/webview_steps.rb