spec/watirspec/elements/checkbox_spec.rb in watir-7.0.0.beta1 vs spec/watirspec/elements/checkbox_spec.rb in watir-7.0.0.beta2
- old
+ new
@@ -32,13 +32,11 @@
expect(browser.checkbox(label: /some (visible|Jeff)/)).to exist
expect(browser.checkbox(label: /none visible/)).to exist
expect(browser.checkbox(label: /this will not match/)).to_not exist
end
- bug 'Safari is not filtering out hidden text', :safari do
- it 'handles text_regexp deprecation in spite of hidden text' do
- expect(browser.checkbox(label: /some visible some hidden/)).to exist
- end
+ it 'handles text_regexp deprecation in spite of hidden text' do
+ expect(browser.checkbox(label: /some visible some hidden/)).to exist
end
it 'returns true if the checkbox button exists (search by name and value)' do
expect(browser.checkbox(name: 'new_user_interests', value: 'cars')).to exist
browser.checkbox(xpath: "//input[@name='new_user_interests' and @value='cars']").set