Sha256: f99a4ca753537bff294ffa0273e97e4595f7f528ecbe7de32a058bcd4be1048e

Contents?: true

Size: 557 Bytes

Versions: 3

Compression:

Stored size: 557 Bytes

Contents

# encoding: utf-8
require File.expand_path("../spec_helper", __FILE__)

describe "Collections" do

  before :each do
    browser.goto(WatirSpec.files + "/collections.html")
  end

  it "returns inner elements of parent element having different html tag" do
    browser.span(:id => "a_span").divs.size.should == 2
  end

  bug "http://code.google.com/p/selenium/issues/detail?id=695", [:webdriver, :ie] do
    it "returns inner elements of parent element having same html tag" do
      browser.span(:id => "a_span").spans.size.should == 2
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
watir-webdriver-0.1.4 spec/watirspec/collections_spec.rb
watir-webdriver-0.1.3 spec/watirspec/collections_spec.rb
watir-webdriver-0.1.2 spec/watirspec/collections_spec.rb