See parent task T139740: Port Selenium tests from Ruby to Node.js for context.
This epic groups the work of migrating the selenium tests for CirrusSearch. The Search platform's Ruby tests live in a single directory (tests/browser) and we'll need to re-write all those tests that exercise the full stack by making requests to MediaWiki and inspecting the results; mostly by creating/updating pages and searching for them.
The test conversion will be part of the Q2 goals for the Search Platform team:
- the team will take on tests as they see fit, as they have time to do so
- most of the tests average about 8 -10 minutes to run (if they take longer, reach out to David C for guidance)
Where / What
- tests running on cindy
- probable hacks using ruby monkeypatching
- ⬆️ Add any missing projects
- Create a new directory for these new tests:
- new name: integration
- this step will only be done once!
- view the list of tests:
- copy the original test over to the new directory (so we don't lose the old/original test and removing one might cause issues for other tests)
- After a few tests have been converted and the steps have been changed, it should make it easier for later tests
- after the re-write, be sure to run the test to be sure nothing fails
- once all tests have been converted, we'll then remove the older Selenium jobs in /features
The deadline for this is by end of October 2017. Currently, only critical problems are being resolved in the Ruby stack; after October, RelEng will no longer maintain the Ruby stack.