Sha256: 7ca2865152e8ae9bb4956279c01ef8861956b633cf3f420b1405e2e44008fbc8

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

require 'watirspec_helper'

module Watir
  describe 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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
watir-7.3.0 spec/watirspec/elements/input_spec.rb
watir-7.2.2 spec/watirspec/elements/input_spec.rb
watir-7.2.1 spec/watirspec/elements/input_spec.rb