Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: --disable-gpu only on CI and CODESPACES (#23682)
Fixes the problem reported by @bowensanders and @hjetpoluru where some Snaps E2E tests get errors in local testing. Issue:- When executing snaps tests locally in chrome browser, the tests would pass, but the browser could not close properly. This resulted in a failure message being logged in the console as follows: type="Error"><![CDATA[Error: Error: Failed to get WebGL context Test scenario :- test/e2e/snaps/test-snap-bip-32.spec.js [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/23682?quickstart=1)
- Loading branch information