public/phpmyadmin/test/selenium/TestBase.php
/**
     * Kills the More link in the menu
     *
     * @return void
     */
Kills the More link in the menu
@return void
Kills the More link in the menu @return void
public function expandMore()
    {
        $ele = null;
        try {
            $ele = $this->waitForElement('byCssSelector', 'li.submenu > a');
        } catch (\PHPUnit_Extensions_Selenium2TestCase_WebDriverException $e) {
            return;
        }
        $ele->click();
        $this->waitForElement('byCssSelector', 'li.submenuhover > a');
        $this->waitUntil(function () {
            return $this->isElementPresent(
                'byCssSelector',
                'li.submenuhover.submenu.shown'
            );
        }, 5000);
    }
public function expandMore ( ) { $ ele = null ; try { $ ele = $ this -> waitForElement ( 'byCssSelector' , 'li.submenu > a' ) ; } catch ( \ PHPUnit_Extensions_Selenium2TestCase_WebDriverException $ e ) { return ; } $ ele -> click ( ) ; $ this -> waitForElement ( 'byCssSelector' , 'li.submenuhover > a' ) ; $ this -> waitUntil ( function ( ) { return $ this -> isElementPresent ( 'byCssSelector' , 'li.submenuhover.submenu.shown' ) ; } , 5000 ) ; }
Kills the More link in the menu
 @return void
Kills the More link in the menu @return void
// Will never be 'null' here