Sha256: d4623019cf08ee46d1f73c74f10a11cd2629f40a7b075c60bd32c50ba3d0c280

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
watir-7.2.0 spec/watirspec/elements/input_spec.rb