Sha256: 698fda010a12e994cca461baa1d80ceb11c09242074696cf9de33ce07b635b92

Contents?: true

Size: 430 Bytes

Versions: 33

Compression:

Stored size: 430 Bytes

Contents

require 'spec_helper'

describe Uia::Patterns::Value do
  Given(:text_field) do
    Uia.find_element(id: 'MainFormWindow').children.find { |e| e.id == 'textField' }
  end

  context 'properties' do
    Given(:value_field) { text_field.as(:value) }

    Then { expect(value_field).to_not be_read_only }

    When { value_field.value = 'Expected value' }
    Then { value_field.value == 'Expected value' }
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
uia-1.0 spec/uia/patterns/value_spec.rb
uia-0.8 spec/uia/patterns/value_spec.rb
uia-0.7 spec/uia/patterns/value_spec.rb
uia-0.7.alpha.1 spec/uia/patterns/value_spec.rb
uia-0.6 spec/uia/patterns/value_spec.rb
uia-0.5 spec/uia/patterns/value_spec.rb
uia-0.4.4 spec/uia/patterns/value_spec.rb
uia-0.4.3 spec/uia/patterns/value_spec.rb
uia-0.4.2 spec/uia/patterns/value_spec.rb
uia-0.4.1 spec/uia/patterns/value_spec.rb
uia-0.4 spec/uia/patterns/value_spec.rb
uia-0.3.3 spec/uia/patterns/value_spec.rb
uia-0.3.2 spec/uia/patterns/value_spec.rb
uia-0.3.1 spec/uia/patterns/value_spec.rb
uia-0.3 spec/uia/patterns/value_spec.rb
uia-0.2.1 spec/uia/patterns/value_spec.rb
uia-0.2 spec/uia/patterns/value_spec.rb
uia-0.1.3.1 spec/uia/patterns/value_spec.rb
uia-0.1.3 spec/uia/patterns/value_spec.rb
uia-0.1.2.3 spec/uia/patterns/value_spec.rb