simpleSecondTest.php 530 Bytes
Newer Older
1 2 3 4 5 6 7 8
<?php
//require_once 'PHPUnit/Extensions/SeleniumTestCase.php';

class second_tests extends PHPUnit_Extensions_SeleniumTestCase
{
    protected function setUp()
    {
        $this->setBrowser('*firefox');
Asscheman's avatar
Asscheman committed
9
        $this->setBrowserUrl('http://localhost/');
10 11 12 13 14
        $this->shareSession(true);
    }

    public function testLoadPageAgain()
    {
Asscheman's avatar
Asscheman committed
15
        $this->open('http://localhost/LOVD3/tests/travis/simpleTest.html');
16 17 18 19 20
        $this->waitForPageToLoad ( "30000" );
        $this->assertTitle('phpunit selenium test');
    }
}
?>