Sha256: b68cc97d6269be6843eba110b08ca4c04f234786d9e412e0dee7946d269594ec
Contents?: true
Size: 814 Bytes
Versions: 11
Compression:
Stored size: 814 Bytes
Contents
describe WatirSplash::SpecHelper do it "opens browser automatically" do @browser.should exist @browser.url.should == "about:blank" @browser.title.should == "" end it "redirects method calls to Watir::Browser" do goto "http://dl.dropbox.com/u/2731643/WatirSplash/test.html" url.should =~ /test/ title.should == "WatirSplash testing page" text_field = text_field(:name => "field1") text_field.should exist text_field.should be_visible text_field.value == "empty value" end it "redirects usages of method 'p' to Watir::IE#p instead of Kernel.p" do goto "http://dl.dropbox.com/u/2731643/WatirSplash/test.html" paragraph = p(:class => "my_pg") paragraph.should exist paragraph.text.should == "This is a paragraph!" end end
Version data entries
11 entries across 11 versions & 1 rubygems