Screenshots for CI on MacOS
See original GitHub issueDescription of the problem
OS
- Windows
- macOS
- Linux
Right now all contributions in Three.js checked with regression tests. If you make a new PR you should also update screenshot in order to simplify code reviews. But current screenshot maker not works in MacOS, and somebody need to create screenshots on Windows or Linux for those users. This is not handy at all. If you have MacBook can you help me to fix CI script for MacOS?
Solution
Try to change flags to --use-gl=swiftshader
in file below
https://github.com/mrdoob/three.js/blob/47e1e3a9a0ac7cf6848ee005c172912ba4f6eff5/test/e2e/puppeteer.js#L60
or add some another, like --disable-setuid-sandbox
and check what gives this command
npm run make-screenshot
right now it produces black images on MacOS.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Take a screenshot on your Mac - Apple Support
To take a screenshot, press and hold these three keys together: Shift, Command, and 3. If you see a thumbnail in the corner...
Read more >flameshot.org - GitHub
On KDE Plasma desktop ; Prt Sc, Start the Flameshot screenshot tool and take a screenshot ; Ctrl + Prt Sc, Wait for...
Read more >Kap - Capture your screen
Capture your screen. An open-source screen recorder built with web technology. View and contribute on GitHub macOS 12 or later required. The Kap...
Read more >One simple trick to make your screenshots 80% smaller - GitLab
The trick is to make this happen automatically every time I capture a screenshot using Hazel or Automator. This allows you to run...
Read more >ios - XCode CI stuck running the UITests (Uploading 10 ...
Found this on Twitter by @steipete: Known Issues, Xcode 8.2: “Simulator_app shows a black screen when booting simulated devices on macOS that do...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wow, I am not thought that we can do it without GPU.
Also we have all platforms inside CI and can check script with one button.
AFAIK, angle is GPU and swiftshader is CPU.
If we want to avoid GPU bugs, we may want to go with
--user-gl=swiftshader
everywhere…