Add first Selenium tests
This commit is contained in:
21
test/PmaSeleniumLoginTest.php
Normal file
21
test/PmaSeleniumLoginTest.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* Selenium TestCase for login related tests
|
||||
*
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-test
|
||||
*/
|
||||
|
||||
require_once('PmaSeleniumTestCase.php');
|
||||
|
||||
|
||||
class PmaSeleniumLoginTest extends PmaSeleniumTestCase
|
||||
{
|
||||
public function testLogin()
|
||||
{
|
||||
$this->doLogin();
|
||||
$this->assertRegExp("/phpMyAdmin .*-dev/", $this->getTitle());
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user