Sha256: 1c332a63f90d4b0ee3a4b4c879ba9cdfd35f3e783a9d1e858672f9ef545c66be

Contents?: true

Size: 481 Bytes

Versions: 34

Compression:

Stored size: 481 Bytes

Contents

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED
require 'unittests/setup'

class TC_SelectLists < Test::Unit::TestCase
  location __FILE__

  def setup
    uses_page "select_lists.html"
  end 

  def test_select_by_numeric
    # make sure we still find the right option if passed a number
    browser.select_list(:id, 'year').select(2011)
    assert_equal(['2011'], browser.select_list(:id, 'year').selected_options)
  end

end


Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
commonwatir-3.0.0.rc2 unittests/select_list_test.rb
commonwatir-3.0.0.rc1 unittests/select_list_test.rb
commonwatir-2.0.4 unittests/select_list_test.rb
commonwatir-2.0.3 unittests/select_list_test.rb
commonwatir-2.0.2 unittests/select_list_test.rb
commonwatir-2.0.2.rc1 unittests/select_list_test.rb
commonwatir-2.0.1 unittests/select_list_test.rb
commonwatir-2.0.0 unittests/select_list_test.rb
commonwatir-2.0.0.rc3 unittests/select_list_test.rb
commonwatir-2.0.0.rc2 unittests/select_list_test.rb
commonwatir-1.9.2 unittests/select_list_test.rb
commonwatir-1.9.2.rc1 unittests/select_list_test.rb
commonwatir-1.9.1 unittests/select_list_test.rb
commonwatir-1.9.1.rc1 unittests/select_list_test.rb
commonwatir-1.9.0 unittests/select_list_test.rb
commonwatir-1.9.0.rc7 unittests/select_list_test.rb
commonwatir-1.9.0.rc6 unittests/select_list_test.rb
commonwatir-1.9.0.rc5 unittests/select_list_test.rb
commonwatir-1.9.0.rc4 unittests/select_list_test.rb
commonwatir-1.9.0.rc3 unittests/select_list_test.rb