Sha256: 1c9fe8342bad6b151976e2781038d31de1cef2d5a4c1b57da9e4d01f7920e501

Contents?: true

Size: 331 Bytes

Versions: 11

Compression:

Stored size: 331 Bytes

Contents

require File.expand_path('watirspec/spec_helper', File.dirname(__FILE__))

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

11 entries across 11 versions & 2 rubygems

Version Path
watir-webdriver-0.9.9 spec/input_spec.rb
watir-6.0.0.beta5 spec/input_spec.rb
watir-6.0.0.beta4 spec/input_spec.rb
watir-6.0.0.beta3 spec/input_spec.rb
watir-6.0.0.beta2 spec/input_spec.rb
watir-6.0.0.beta1 spec/input_spec.rb
watir-webdriver-0.9.3 spec/input_spec.rb
watir-webdriver-0.9.2 spec/input_spec.rb
watir-webdriver-0.9.1 spec/input_spec.rb
watir-webdriver-0.9.0 spec/input_spec.rb
watir-webdriver-0.8.0 spec/input_spec.rb