public/phpmyadmin/test/selenium/DbOperationsTest.php
/**
     * Test for adding database comment
     *
     * @return void
     *
     * @group large
     */
Test for adding database comment
@return void

@group large
Test for adding database comment @return void @group large
public function testDbComment()
    {
        $this->skipIfNotPMADB();
        $this->_getToDBOperations();
        $this->byName("comment")->value("comment_foobar");
        $this->byCssSelector(
            "form#formDatabaseComment input[type='submit']"
        )->click();
        $this->assertNotNull(
            $this->waitForElement(
                "byXPath",
                "//span[@id='span_table_comment' and contains(., 'comment_foobar')]"
            )
        );
    }
public function testDbComment ( ) { $ this -> skipIfNotPMADB ( ) ; $ this -> _getToDBOperations ( ) ; $ this -> byName ( " comment " ) -> value ( " comment_foobar " ) ; $ this -> byCssSelector ( " form#formDatabaseComment input[type='submit'] " ) -> click ( ) ; $ this -> assertNotNull ( $ this -> waitForElement ( " byXPath " , " //span[@id='span_table_comment' and contains(., 'comment_foobar')] " ) ) ; }
Test for adding database comment
 @return void
Test for adding database comment @return void