Commit 0aa90459 authored by David Morley's avatar David Morley

setup selenium in phpunit

parent 51ea077d
......@@ -3,6 +3,7 @@ php:
- 5.3
- 5.4
before_script: "./phpunit/"
script: phpunit
sh -e /etc/init.d/xvfb start
export DISPLAY=:99.0
require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
class WebTest extends PHPUnit_Extensions_SeleniumTestCase
protected function setUp()
public function testTitle()
$this->assertTitle('Diaspora Pod uptime - Find your new social home');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment