public/phpmyadmin/test/selenium/TestBase.php
/**
     * Skips test if pmadb is not configured.
     *
     * @return void
     */
Skips test if pmadb is not configured.
@return void
Skips test if pmadb is not configured . @return void
protected function skipIfNotPMADB()
    {
        $this->url('chk_rel.php');
        $this->waitForElement('byId', 'page_content');
        if ($this->isElementPresent('byXPath', '//span[contains(@style, \'color:red\')]')) {
            $this->markTestSkipped(
                'The phpMyAdmin configuration storage is not working.'
            );
        }
    }
protected function skipIfNotPMADB ( ) { $ this -> url ( 'chk_rel.php' ) ; $ this -> waitForElement ( 'byId' , 'page_content' ) ; if ( $ this -> isElementPresent ( 'byXPath' , '//span[contains(@style, \'color:red\')]' ) ) { $ this -> markTestSkipped ( 'The phpMyAdmin configuration storage is not working.' ) ; } }
Skips test if pmadb is not configured.
Skips test if pmadb is not configured .