Closed tbouffard closed 3 years ago
https://github.com/process-analytics/bpmn-visualization-js/pull/1062#issuecomment-770684296 has shown that we cannot use the current jest-puppeteer firefox support.
See #1076 for a direct usage of Firefox with Puppeteer.
For end-to-end tests, we rely on Puppeteer which currently only run tests with Chromium. It seems possible to make it run Firefox: https://github.com/puppeteer/puppeteer/blob/v5.5.0/examples/cross-browser.js
jest-puppeteer
also provide an easy way to run firefox as far as puppeteer-firefox is a peer dependency. See https://github.com/smooth-code/jest-puppeteer/tree/v4.4.0#configure-puppeteer and https://github.com/smooth-code/jest-puppeteer/blob/v4.4.0/packages/jest-environment-puppeteer/README.md#jest-puppeteerconfigjs