public/phpmyadmin/test/selenium/ServerSettingsTest.php
/**
     * Tests whether the various settings tabs are displayed when clicked
     *
     * @return void
     *
     * @group large
     */
Tests whether the various settings tabs are displayed when clicked
@return void

@group large
Tests whether the various settings tabs are displayed when clicked @return void @group large
public function testSettingsTabsAreDisplayed()
    {
        $this->byPartialLinkText("SQL queries")->click();
        $this->waitAjax();
        $this->waitForElement('byClassName', 'tabs');
        $this->byPartialLinkText("SQL Query box")->click();
        $this->assertTrue(
            $this->byId("Sql_box")->displayed()
        );
        $this->assertFalse(
            $this->byId("Sql_queries")->displayed()
        );
        $this->byCssSelector("a[href='#Sql_queries']")->click();
        $this->assertFalse(
            $this->byId("Sql_box")->displayed()
        );
        $this->assertTrue(
            $this->byId("Sql_queries")->displayed()
        );
    }
public function testSettingsTabsAreDisplayed ( ) { $ this -> byPartialLinkText ( " SQL queries " ) -> click ( ) ; $ this -> waitAjax ( ) ; $ this -> waitForElement ( 'byClassName' , 'tabs' ) ; $ this -> byPartialLinkText ( " SQL Query box " ) -> click ( ) ; $ this -> assertTrue ( $ this -> byId ( " Sql_box " ) -> displayed ( ) ) ; $ this -> assertFalse ( $ this -> byId ( " Sql_queries " ) -> displayed ( ) ) ; $ this -> byCssSelector ( " a[href='#Sql_queries'] " ) -> click ( ) ; $ this -> assertFalse ( $ this -> byId ( " Sql_box " ) -> displayed ( ) ) ; $ this -> assertTrue ( $ this -> byId ( " Sql_queries " ) -> displayed ( ) ) ; }
Tests whether the various settings tabs are displayed when clicked
 @return void
Tests whether the various settings tabs are displayed when clicked @return void