mozilla/parapara — pull request #9 by zacc (2012-10-03 14:56:35+00:00)
Title: Add WebDriver UI tests for Editor

Here is a small base/proof of concept for UI WebDriver tests against the パラパラ editor.

Test cases:
* Draw a line
* Draw a line and delete it
* Draw a circle
* Draw a circle and delete it
* Resize window to portrait tablet size and assert position of toolbox
* Resize window to landscape tablet size and assert position of toolbox

Some issues are:
- Must be run on Windows or Linux and have the mouse over the Firefox window when the tests starts or for IE, the mouse outside the browser window!

- Difficulty in installing phpunit, php-webdriver and their dependencies creates a bit of difficulty getting started, but I have tried to cover as much of this as I can in the Readme.

- Unable to access the shadow DOM inside the **< object >** which makes clicking on the pencil and eraser objects in the toolbox or film strip quite difficult and unreliable. I have spoken to the WebDriver devs about this and they said it would be possible to do in the future but SVG/Shadow DOM won't be put into WebDriver until there is sufficient demand.

がんばって～！