Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore console error caused by wysihtml5 #2164

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ gem 'capybara-chromedriver-logger', git: 'https://github.com/codevise/capybara-c

# See https://github.com/charkost/prosopite/pull/79
gem 'prosopite', git: 'https://github.com/tf/prosopite', branch: 'location-backtrace-cleaner'

# Fixes for Chrome that removed DOMNodeRemoved event
gem 'wysihtml-rails', git: 'https://github.com/codevise/wysihtml-rails', branch: '0-5-5-dom-node-removed-fix'
3 changes: 3 additions & 0 deletions spec/support/pageflow/support/config/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
# page sections.
/Target node has markup rendered by React/i,

# Caused by wysihtml5 editor using legacy event
/Listener added for a 'DOMNodeRemoved' mutation event/,

# Ignore failure of debounced request to save order of storylines
%r{storylines/order - Failed to load resource: the server responded with a status of 401},

Expand Down
Loading