Files
monica/tests/BrowserSelenium/SimpleTest.php
T
Alexis Saettler ccd63b7e99 Add browser tests (#796)
* Add lmc/steward package and other dependencies
2018-01-13 23:30:37 +01:00

24 lines
452 B
PHP

<?php
namespace Tests\BrowserSelenium;
class SimpleTest extends BaseTestCase
{
/**
* init should be run with "before" phpunit annotation, but it doesn't work !
*/
public function init()
{
$this->wd->get(self::$baseUrl);
}
/**
* A basic browser test example.
*/
public function testBasicExample()
{
$this->init();
$this->assertContains('Monica', $this->wd->getTitle());
}
}