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-1.9.0.rc3 unittests/element_collections_test.rb
commonwatir-1.9.0.rc2 unittests/element_collections_test.rb
commonwatir-1.9.0.rc1 unittests/element_collections_test.rb
commonwatir-1.8.1 unittests/element_collections_test.rb
commonwatir-1.8.1.rc1 unittests/element_collections_test.rb
commonwatir-1.8.0 unittests/element_collections_test.rb
commonwatir-1.8.0.rc1 unittests/element_collections_test.rb
commonwatir-1.7.1 unittests/element_collections_test.rb
commonwatir-1.7.0 unittests/element_collections_test.rb
commonwatir-1.7.0.rc1 unittests/element_collections_test.rb
commonwatir-1.6.7 unittests/element_collections_test.rb
commonwatir-1.6.7.rc1 unittests/element_collections_test.rb
commonwatir-1.6.6 unittests/element_collections_test.rb
commonwatir-1.6.6.rc2 unittests/element_collections_test.rb
commonwatir-1.6.6.rc1 unittests/element_collections_test.rb