You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PhantomJS provides a headless browser with which we render AMPs while running visual diff tests. The versioning of phantomjs on Travis is currently a mess.
Poltergeist, the library used by Percy, the visual diff tool, to load pages requires phantomjs version 2.1.1 or higher. However, the default version of phantomjs baked into Travis is 2.0.0. See Add support for PhantomJS 2.0 travis-ci/travis-ci#3225
To fix this for AMP and avoid a triple install of phantomjs, we must set up our Travis VMs to install version 2.1.1 by default, and then insert an absolute path to that binary in the PATH.
The text was updated successfully, but these errors were encountered:
PhantomJS provides a headless browser with which we render AMPs while running visual diff tests. The versioning of phantomjs on Travis is currently a mess.
./node_modules/.bin/phantomjs
). Poltergeist complains that it cannot load the phantomjs binary from a relative path. See Absolute paths can no longer be used to find the phantomjs binary teampoltergeist/poltergeist#389To fix this for AMP and avoid a triple install of phantomjs, we must set up our Travis VMs to install version 2.1.1 by default, and then insert an absolute path to that binary in the PATH.
The text was updated successfully, but these errors were encountered: