Sha256: 9e487e3626683fcb34e6d503d03dc2489d71c430038af202440fa9674d7075a0

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

# Tests specifically for areas where the web_context differs in behaviour
describe 'the web context' do

  t 'get_android_inspect' do
    text('Web').click
    set_context 'WEBVIEW'
    current_context.must_equal 'WEBVIEW_1'
    sleep 1  #Give a chance to load
    page.start_with?("\nhtml\n").must_equal true
  end

  t 'after_last' do
    set_context 'NATIVE_APP'
    back_click
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
appium_lib-6.0.0 ios_tests/lib/ios/specs/common/web_context.rb
appium_lib-5.0.1 ios_tests/lib/ios/specs/common/web_context.rb
appium_lib-5.0.0 ios_tests/lib/ios/specs/common/web_context.rb