Sha256: 2c07595499128a167b1586232ec2026d6a42d581931c096096d7b6dbff29fafe

Contents?: true

Size: 283 Bytes

Versions: 20

Compression:

Stored size: 283 Bytes

Contents

require 'watirspec_helper'

describe Watir::Input do
  before do
    browser.goto WatirSpec.url_for('forms_with_input_elements.html')
  end

  describe '#type' do
    it 'returns an email type' do
      expect(browser.input(name: 'html5_email').type).to eq 'email'
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
watir-7.1.0 spec/watirspec/elements/input_spec.rb
watir-7.0.0 spec/watirspec/elements/input_spec.rb
watir-7.0.0.beta5 spec/watirspec/elements/input_spec.rb
watir-7.0.0.beta4 spec/watirspec/elements/input_spec.rb
watir-7.0.0.beta3 spec/watirspec/elements/input_spec.rb
watir-7.0.0.beta2 spec/watirspec/elements/input_spec.rb
watir-7.0.0.beta1 spec/watirspec/elements/input_spec.rb
watir-6.19.1 spec/watirspec/elements/input_spec.rb
watir-6.19.0 spec/watirspec/elements/input_spec.rb
watir-6.18.0 spec/watirspec/elements/input_spec.rb
watir-6.17.0 spec/watirspec/elements/input_spec.rb
watir-6.16.5 spec/watirspec/elements/input_spec.rb
watir-6.16.4 spec/watirspec/elements/input_spec.rb
watir-6.16.3 spec/watirspec/elements/input_spec.rb
watir-6.16.2 spec/watirspec/elements/input_spec.rb
watir-6.16.1 spec/watirspec/elements/input_spec.rb
watir-6.16.0 spec/watirspec/elements/input_spec.rb
watir-6.15.1 spec/watirspec/elements/input_spec.rb
watir-6.15.0 spec/watirspec/elements/input_spec.rb
watir-6.14.0 spec/watirspec/elements/input_spec.rb