Skip to content

Fix phantomjs flakiness

Pre-release
Pre-release
Compare
Choose a tag to compare
@teamdandelion teamdandelion released this 09 Jun 23:02
· 8314 commits to master since this release

Because PhantomJS doesn't set up the DOM in the same way as the browser, it was causing isSelectionRemoved to fail in testing. I changed the semantics to isSelectionRemovedFromSVG which should also catch errors, but will work independently of how the top level document is set up.