1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

should only be set as pending for selenium driver

This commit is contained in:
Thomas Walpole 2017-01-12 12:03:33 -08:00
parent 673bdc08a6
commit 9936465376

View file

@ -135,7 +135,7 @@ Capybara::SpecHelper.spec "node" do
end
it 'should allow me to change the contents of a contenteditable elements child', requires: [:js] do
pending "Selenium doesn't like editing nested contents"
pending "Selenium doesn't like editing nested contents" if @session.respond_to?(:mode) && @session.mode.to_s =~ /^selenium_/
@session.visit('/with_js')
@session.find(:css,'#existing_content_editable_child').set('WYSIWYG')
expect(@session.find(:css,'#existing_content_editable_child').text).to eq('WYSIWYG')