spec/watirspec/elements/tr_spec.rb in watir-6.5.0 vs spec/watirspec/elements/tr_spec.rb in watir-6.6.0
- old
+ new
@@ -34,22 +34,26 @@
end
end
describe "#click" do
bug "http://github.com/watir/watir/issues/issue/32", :internet_explorer, :chrome do
- it "fires the row's onclick event" do
- browser.tr(id: 'inner_first').click
- expect(messages).to include('tr')
+ not_compliant_on :firefox do
+ it "fires the row's onclick event" do
+ browser.tr(id: 'inner_first').click
+ expect(messages).to include('tr')
+ end
end
end
end
- describe "#[]" do
- let(:table) { browser.table(id: 'outer') }
+ bug "Safari does not strip text", :safari do
+ describe "#[]" do
+ let(:table) { browser.table(id: 'outer') }
- it "returns the nth cell of the row" do
- expect(table[0][0].text).to eq "Table 1, Row 1, Cell 1"
- expect(table[2][0].text).to eq "Table 1, Row 3, Cell 1"
+ it "returns the nth cell of the row" do
+ expect(table[0][0].text).to eq "Table 1, Row 1, Cell 1"
+ expect(table[2][0].text).to eq "Table 1, Row 3, Cell 1"
+ end
end
end
describe "#cells" do
let(:table) { browser.table(id: 'outer') }