]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
fix: ensure that headless-chrome tests run in all environments
authorNicolas Coden <nicolas@ncoden.fr>
Sun, 25 Mar 2018 01:25:02 +0000 (03:25 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sun, 25 Mar 2018 01:25:02 +0000 (03:25 +0200)
commit14b4e12c29921ba22f53dd8c4b42e3faec63a917
treebd36db3b94c2881754fd1120bac2d2a11ded79c1
parenta6e14285eb02a7940f5cf5705da03a7fda453eb8
fix: ensure that headless-chrome tests run in all environments

Bug with the Linux sandbox SUID can appear or not depending on the Kernel version on the runner. https://gist.github.com/ncoden/6e79cef6f62608fd9443ea2a601806bc

Using `no-sandbox` with chrome is generally not recommended for security reasons, but recommended in this case by Travis.

See:
* https://docs.travis-ci.com/user/chrome#Sandboxing
* https://github.com/travis-ci/travis-ci/issues/8836
* https://github.com/GoogleChrome/puppeteer/issues/515
package.json