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.13.0 spec/watirspec/elements/input_spec.rb
watir-6.12.0 spec/watirspec/elements/input_spec.rb
watir-6.11.0 spec/input_spec.rb
watir-6.11.0.beta2 spec/input_spec.rb
watir-6.11.0.beta1 spec/input_spec.rb
watir-6.10.3 spec/input_spec.rb
watir-6.10.2 spec/input_spec.rb
watir-6.10.0 spec/input_spec.rb
watir-6.9.1 spec/input_spec.rb
watir-6.9.0 spec/input_spec.rb
watir-6.8.4 spec/input_spec.rb
watir-6.8.3 spec/input_spec.rb
watir-6.8.2 spec/input_spec.rb
watir-6.8.1 spec/input_spec.rb
watir-6.8.0 spec/input_spec.rb
watir-6.7.3 spec/input_spec.rb
watir-6.7.2 spec/input_spec.rb
watir-6.7.1 spec/input_spec.rb
watir-6.7.0 spec/input_spec.rb
watir-6.6.3 spec/input_spec.rb