phpmyadmin/test/selenium
2012-03-21 11:25:45 -04:00
..
Helper.php Patch #3504536 Fixed the PMA selenium test cases (Login) 2012-03-21 11:25:45 -04:00
PmaSeleniumLoginTest.php Patch #3504536 Fixed the PMA selenium test cases (Login) 2012-03-21 11:25:45 -04:00
PmaSeleniumPrivilegesTest.php Use package name PhpMyAdmin 2011-10-25 10:13:17 +02:00
PmaSeleniumTestCase.php Patch #3504536 Fixed the PMA selenium test cases (Login) 2012-03-21 11:25:45 -04:00
PmaSeleniumXssTest.php Use package name PhpMyAdmin 2011-10-25 10:13:17 +02:00
README Patch #3504536 Fixed the PMA selenium test cases (Login) 2012-03-21 11:25:45 -04:00
TestConfig.php Patch #3504536 Fixed the PMA selenium test cases (Login) 2012-03-21 11:25:45 -04:00

Guide to run the AllSeleniumTests.php (Yasitha Pandithawatta)
=====================================

1. Tested with version 4.0
2. Configure the testing environment - Browser and the following feilds in phpunit.xml.dist
    <php>
        <const name="TESTSUITE_SERVER" value="localhost"/>
        <const name="TESTSUITE_USER" value="root"/>
        <const name="TESTSUITE_PASSWORD" value="root"/>
        <const name="TESTSUITE_DATABASE" value="test"/>
        <const name="TESTSUITE_PHPMYADMIN_HOST" value="http://localhost" />
        <const name="TESTSUITE_PHPMYADMIN_URL" value="/phpmyadmin-dev" />
    </php>
3. Start the selenium server
4. run $ phpunit test/AllSeleniumTests.php

Note: Only PmaSeleniumLoginTest.php is fixed and added to the test suit.