Sha256: 73017ab9a6d7b93e67679eea1eea1f0371ef07f6069800e2daf21cab0649bd4a

Contents?: true

Size: 284 Bytes

Versions: 38

Compression:

Stored size: 284 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

38 entries across 38 versions & 1 rubygems

Version Path
watir-6.6.2 spec/input_spec.rb
watir-6.6.1 spec/input_spec.rb
watir-6.6.0 spec/input_spec.rb
watir-6.5.0 spec/input_spec.rb
watir-6.4.3 spec/input_spec.rb
watir-6.4.2 spec/input_spec.rb
watir-6.4.1 spec/input_spec.rb
watir-6.4.0 spec/input_spec.rb
watir-6.4.0.rc2 spec/input_spec.rb
watir-6.4.0.rc1 spec/input_spec.rb
watir-6.3.0 spec/input_spec.rb
watir-6.2.1 spec/input_spec.rb
watir-6.2.0 spec/input_spec.rb
watir-6.1.0 spec/input_spec.rb
watir-6.0.3 spec/input_spec.rb
watir-6.0.2 spec/input_spec.rb
watir-6.0.1 spec/input_spec.rb
watir-6.0.0 spec/input_spec.rb