Sha256: cfbce30d48fcd1479b36c9eefe69d4550a1d0e0a4cf16299825539c3d2989067

Contents?: true

Size: 526 Bytes

Versions: 35

Compression:

Stored size: 526 Bytes

Contents

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

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

  def setup
    uses_page "definition_lists.html"
  end 

  def test_first
    assert_equal "experience", browser.dls.first.title
    assert_equal "industry",   browser.dts.first.class_name
  end
  
  def test_last
    assert_equal 'noop', browser.dls.last.id
    assert_equal 'noop', browser.dds.last.class_name
  end
end


Version data entries

35 entries across 35 versions & 1 rubygems

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