amp-toolbox
amp-toolbox copied to clipboard
fix: run puppeteer tests correctly on Ubuntu 23.10+ OS
Summary
Restore Puppeteer Chrome tests on Ubuntu 23.10+ by disabling AppArmor in CI and clean up test imports In addition
Bug Fixes:
- Fix Puppeteer test failures on Ubuntu-latest by disabling AppArmor restrictions
CI:
- Add CI step to disable AppArmor on Ubuntu for Puppeteer Chrome tests
Tests:
- Remove redundant fetch-mock import from end-to-end spec
How to verify your codes work?
I have tested it on my GitHub Actions. Furthermore, run lint.
npm run lint:fix
It looks like our tests are broken because of an issue with the most recent release. @erwinmombay is working on fixing it. Once that's fixed and the tests pass on the main branch we can take a look again :)