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:
parent
673bdc08a6
commit
9936465376
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue