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

Commit e555ccd

Browse files
authored
Merge pull request #925 from teampoltergeist/datalist_tests
Skip datalist tests because PJS doesn't support datalist
2 parents c9b34bc + 8cb7210 commit e555ccd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

spec/spec_helper.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,12 @@ def set_capybara_wait_time(t)
6565
Capybara::SpecHelper.configure(config)
6666

6767
config.filter_run_excluding :full_description => lambda { |description, metadata|
68-
#test is marked pending in Capybara but Poltergeist passes - disable here - have our own test in driver spec
69-
description =~ /Capybara::Session Poltergeist node #set should allow me to change the contents of a contenteditable elements child/
68+
[
69+
# test is marked pending in Capybara but Poltergeist passes - disable here - have our own test in driver spec
70+
/Capybara::Session Poltergeist node #set should allow me to change the contents of a contenteditable elements child/,
71+
# should not pass because PhantomJS doesn't support datalist
72+
/Capybara::Session Poltergeist #select input with datalist/
73+
].any? { |desc| description =~ desc }
7074
}
7175

7276
config.before(:each) do

0 commit comments

Comments
 (0)