public/phpmyadmin/test/selenium/ServerSettingsTest.php
/**
     * Saves config and asserts correct message.
     *
     * @return void
     */
Saves config and asserts correct message.
@return void
Saves config and asserts correct message . @return void
private function _saveConfig()
    {
        $ele = $this->waitForElement(
            'byXPath',
            "//fieldset[not(contains(@style,'display: none;'))]//input[@value='Apply']"
        );
        $this->scrollToBottom();
        $this->moveto($ele);
        $ele->click();
        $this->waitUntil(function() {
            if (
                $this->isElementPresent(
                    "byXPath",
                    "//div[@class='success' and contains(., 'Configuration has been saved')]"
                )
            ) {
                return true;
            }
            return null;
        }, 5000);
    }
private function _saveConfig ( ) { $ ele = $ this -> waitForElement ( 'byXPath' , " //fieldset[not(contains(@style,'display: none;'))]//input[@value='Apply'] " ) ; $ this -> scrollToBottom ( ) ; $ this -> moveto ( $ ele ) ; $ ele -> click ( ) ; $ this -> waitUntil ( function ( ) { if ( $ this -> isElementPresent ( " byXPath " , " //div[@class='success' and contains(., 'Configuration has been saved')] " ) ) { return true ; } return null ; } , 5000 ) ; }
Saves config and asserts correct message.
Saves config and asserts correct message .
// Submit the form