Last modified: 2014-10-10 19:30:42 UTC
Sikuli ( http://www.sikuli.org ) is a tool for testing desktop interactions, such as mouse clicks and keyboard typing. This tool is needed for testing typing in different languages, because the usual WebDriver tests are not able to generate proper keyboard events that completely emulate typing in advanced input methods for Japanese, Chinese and Indic scripts. We have many bugs in this area in the VisualEditor (e.g. Bug 52716), so we need proper regression testing. This week I worked with Željko in the WMF office and we built a prototype test that uses Sikuli to test typing in Japanese: https://gerrit.wikimedia.org/r/#/c/83966/ This works on Željko's laptop. The next step is to get it working on the virtual clients that run our continuous integration tests. Thank you!
Moving from CI to QA
Change 83966 had a related patch set uploaded by Zfilipin: [WIP] [Browser test] Testing typing in VisualEditor https://gerrit.wikimedia.org/r/83966
Good news: sikuli has been packaged for Debian/Ubuntu. There is a package libsikuli-script-java which seems to provide the needed material: http://packages.ubuntu.com/precise/all/libsikuli-script-java/filelist I have no clue how to launch the tests though. Maybe we just have to use /usr/bin/sikuli ?
Change 102141 had a related patch set uploaded by Hashar: contint: install libsikuli-script-java for browser tests https://gerrit.wikimedia.org/r/102141
I have deployed the package libsikuli-script-java on the integration-selenium-driver.pmtpa.wmflabs instance. The script is available as /usr/bin/sikuli Could you craft a simple change that would attempt to run a single browser test using sikuli ?
Change 102141 merged by ArielGlenn: contint: install libsikuli-script-java for browser tests https://gerrit.wikimedia.org/r/102141
Amir, this patch was merged, can this be closed?
No, it is not really active yet.
After further investigation with Amir today, looks like Sikuli does not work with headless machines: "The system running Sikuli scripts or any apps using SikuliX features must have a real screen connected. So called headless systems are not supported (Java restriction)." 1: http://www.sikulix.com/quickstart.html
Resolving. See comment #9 for details. Please reopen if you think Sikuli is the way to go.
Change 83966 abandoned by Zfilipin: [WIP] [BrowserTest] Testing typing in VisualEditor Reason: Sikuli is not the way to go. We will investigate another tool. https://gerrit.wikimedia.org/r/83966
Change 165204 had a related patch set uploaded by Zfilipin: contint: Sikuli is no longer used anywhere https://gerrit.wikimedia.org/r/165204
Change 165204 merged by Dzahn: contint: Sikuli is no longer used anywhere https://gerrit.wikimedia.org/r/165204