1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00

Skip datalist tests because PJS doesn't support datalist

This commit is contained in:
Thomas Walpole 2018-04-30 18:34:50 -07:00
parent 895c90e194
commit 8cb7210aef

View file

@ -65,8 +65,12 @@ RSpec.configure do |config|
Capybara::SpecHelper.configure(config)
config.filter_run_excluding :full_description => lambda { |description, metadata|
#test is marked pending in Capybara but Poltergeist passes - disable here - have our own test in driver spec
description =~ /Capybara::Session Poltergeist node #set should allow me to change the contents of a contenteditable elements child/
[
# test is marked pending in Capybara but Poltergeist passes - disable here - have our own test in driver spec
/Capybara::Session Poltergeist node #set should allow me to change the contents of a contenteditable elements child/,
# should not pass because PhantomJS doesn't support datalist
/Capybara::Session Poltergeist #select input with datalist/
].any? { |desc| description =~ desc }
}
config.before(:each) do