-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove ruby files and regen tests #1501
Conversation
This pull request was exported from Phabricator. Differential Revision: D51956567 |
This pull request was exported from Phabricator. Differential Revision: D51956567 |
Summary: Pull Request resolved: facebook#1501 Now that we have `gentest-driver.ts` we can delete the ruby gentest. I also regened all of the tests that have a comment with the wrong file name for where it was generated. Differential Revision: D51956567 fbshipit-source-id: 05c64ecb64c35dd9edf1e618bc664fe36e874166
afe580a
to
e7633e7
Compare
This pull request was exported from Phabricator. Differential Revision: D51956567 |
e7633e7
to
9fc5b35
Compare
Summary: Pull Request resolved: facebook#1501 Now that we have `gentest-driver.ts` we can delete the ruby gentest. I also regened all of the tests that have a comment with the wrong file name for where it was generated. Reviewed By: yungsters, NickGerleman Differential Revision: D51956567 fbshipit-source-id: 875afd501de0b0cd7efcd1ed48001d0e58b24e74
This pull request was exported from Phabricator. Differential Revision: D51956567 |
9fc5b35
to
1847442
Compare
Summary: Pull Request resolved: facebook#1501 Now that we have `gentest-driver.ts` we can delete the ruby gentest. I also regened all of the tests that have a comment with the wrong file name for where it was generated. Reviewed By: yungsters, NickGerleman Differential Revision: D51956567 fbshipit-source-id: 01a65ce2f9a0f57d292d2262e27ca203ae2ecbe7
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: 586a201cb5741241d2402f9dfd5bc382863e8d89
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: a681c647f2cfcf39dd724cea7d2505f61d125318
Summary: Pull Request resolved: facebook#1501 Now that we have `gentest-driver.ts` we can delete the ruby gentest. I also regened all of the tests that have a comment with the wrong file name for where it was generated. Reviewed By: yungsters, NickGerleman Differential Revision: D51956567 fbshipit-source-id: 1e09f5fdee762e2de37e3e54bc713486bbcb7158
This pull request was exported from Phabricator. Differential Revision: D51956567 |
1847442
to
2ad3e9d
Compare
This pull request has been merged in e61eb01. |
Summary: Now that we have
gentest-driver.ts
we can delete the ruby gentest. I also regened all of the tests that have a comment with the wrong file name for where it was generated.Differential Revision: D51956567