Sha256: 4b00bf6bfda38d08bd00f1ddc6d0266f56d6c268bf49eecf304e58388b689400

Contents?: true

Size: 502 Bytes

Versions: 10

Compression:

Stored size: 502 Bytes

Contents

module Calabash
  module IOS
    # @!visibility private
    module TextMixin

      # @!visibility private
      def enter_text(text)
        wait_for_keyboard(Calabash::Wait.default_options[:timeout])
        existing_text = text_from_keyboard_first_responder
        options = { existing_text: existing_text }
        uia_type_string(text, options)
      end

      # @!visibility private
      def _enter_text_in(query, text)
        _tap(query)
        enter_text(text)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
calabash-2.0.0.pre10 lib/calabash/ios/device/text_mixin.rb
calabash-2.0.0.pre9 lib/calabash/ios/device/text_mixin.rb
calabash-2.0.0.prelegacy4 lib/calabash/ios/device/text_mixin.rb
calabash-2.0.0.prelegacy3 lib/calabash/ios/device/text_mixin.rb
calabash-2.0.0.prelegacy2 lib/calabash/ios/device/text_mixin.rb
calabash-2.0.0.prelegacy lib/calabash/ios/device/text_mixin.rb
calabash-2.0.0.pre6 lib/calabash/ios/device/text_mixin.rb
calabash-2.0.0.pre5 lib/calabash/ios/device/text_mixin.rb
calabash-2.0.0.pre4 lib/calabash/ios/device/text_mixin.rb
calabash-2.0.0.pre3 lib/calabash/ios/device/text_mixin.rb