Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1503
This diff makes it so that our driver will sign all of the generated files to help ensure that they are not edited by hand. Next I will add CI to actually verify the signature
Differential Revision: D51966201
fbshipit-source-id: f86979a73088f3b01e123cb670ec2c1e1576f72c
Summary: This uses the minimist library to parse the command line easily for flags and options. I added over the same ones in the ruby script (-f and -s). Unfortunately, there seems to be no way to fully suspend the script on command while waiting for user input like how you can in ruby. So, I am only able to suspend at the very end by not closing the browser immediately. Therefore, I only let this happen if -f is specified.
Differential Revision: https://www.internalfb.com/diff/D51877810?entry_point=27
fbshipit-source-id: 622ed8813ee05a8af7ef2729e8a665336f772898
Summary:
The only instance of ruby in this repository is `gentest.rb` used to generate test cases from html fixtures. This is quite annoying as ruby is not the most popular compared to something like Node and it does not integrate into the rest of our stack. I changed this to use Node.js instead. Instead of `watir` we now use `selenium-webdriver`. `watir` is backed by Selenium so I do not expect anything to change.
Next commits will add command line options, clean up gentest.rb and its references, and change the README
Differential Revision: https://www.internalfb.com/diff/D51874433?entry_point=27
fbshipit-source-id: 604498e3f6880169bdb042cce18d6084e2bb8533