Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Commit

Permalink
Skip datalist tests because PJS doesn't support datalist
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed May 1, 2018
1 parent 895c90e commit 8cb7210
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,12 @@ def set_capybara_wait_time(t)
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
Expand Down

0 comments on commit 8cb7210

Please sign in to comment.