I want to test Safari in a CI pipeline because a lot of our customers are using it, and the only way to do so seems to be by running a Mac. We can test Firefox and Chrome perfectly via docker containers. Should we build a hackintosh and connect it to our AWS VPC? Any tips?
back
2 comments
Should we build a hackintosh and connect it to our AWS VPC?
Are you in a country with a laissez-faire legal system? What you are asking, in a commercial context, is whether or not you should violate your MacOS license agreement. At least by USA legal rules, anyway.
I've never heard of Apple litigating over this, but it's something that businesses try to stay away from.
IMO hackintoshes are for hobbyists.
Hm, definitely not in a loose legal system, so hackintosh is not an option. Then the most affordable way is to either run a (used) Mac on-prem or use a SaaS solution for browser testing.
I'm frustrated by how much more difficult this is from running Linux or even Windows on ec2.
There are saas tools out there like browserstack.com that allow selenium testing on safari and other browsers.
We're trying that, but the latency and proxying are making it slow and error-prone. We're taking thousands of screenshots per CI run and want it to be done within 5 minutes for our developer experience. We run about 20 to 40 of these CI jobs per day. The SaaS tools I've seen so far are also very expensive for this use case.