public/phpmyadmin/test/selenium/TableInsertTest.php
/**
     * Assert various data present in results table
     *
     * @return void
     */
Assert various data present in results table
@return void
Assert various data present in results table @return void
private function _assertDataPresent()
    {
        $this->byPartialLinkText("Browse")->click();
        $this->waitAjax();
        $this->waitForElement("byCssSelector", "table.table_results");
        $this->assertEquals(
            "1",
            $this->getCellByTableClass('table_results', 1, 5)
        );
        $this->assertEquals(
            "abcd",
            $this->getCellByTableClass('table_results', 1, 6)
        );
        $this->assertEquals(
            "2011-01-02 00:00:00",
            $this->getCellByTableClass('table_results', 1, 7)
        );
        $this->assertEquals(
            "2",
            $this->getCellByTableClass('table_results', 2, 5)
        );
        $this->assertEquals(
            "foo",
            $this->getCellByTableClass('table_results', 2, 6)
        );
        $this->assertEquals(
            "2012-01-02 00:00:00",
            $this->getCellByTableClass('table_results', 2, 7)
        );
        $this->assertEquals(
            "4",
            $this->getCellByTableClass('table_results', 3, 5)
        );
        $this->assertEquals(
            "Abcd",
            $this->getCellByTableClass('table_results', 3, 6)
        );
        $this->assertEquals(
            "2013-01-02 00:00:00",
            $this->getCellByTableClass('table_results', 3, 7)
        );
    }
private function _assertDataPresent ( ) { $ this -> byPartialLinkText ( " Browse " ) -> click ( ) ; $ this -> waitAjax ( ) ; $ this -> waitForElement ( " byCssSelector " , " table.table_results " ) ; $ this -> assertEquals ( " 1 " , $ this -> getCellByTableClass ( 'table_results' , 1 , 5 ) ) ; $ this -> assertEquals ( " abcd " , $ this -> getCellByTableClass ( 'table_results' , 1 , 6 ) ) ; $ this -> assertEquals ( " 2011-01-02 00:00:00 " , $ this -> getCellByTableClass ( 'table_results' , 1 , 7 ) ) ; $ this -> assertEquals ( " 2 " , $ this -> getCellByTableClass ( 'table_results' , 2 , 5 ) ) ; $ this -> assertEquals ( " foo " , $ this -> getCellByTableClass ( 'table_results' , 2 , 6 ) ) ; $ this -> assertEquals ( " 2012-01-02 00:00:00 " , $ this -> getCellByTableClass ( 'table_results' , 2 , 7 ) ) ; $ this -> assertEquals ( " 4 " , $ this -> getCellByTableClass ( 'table_results' , 3 , 5 ) ) ; $ this -> assertEquals ( " Abcd " , $ this -> getCellByTableClass ( 'table_results' , 3 , 6 ) ) ; $ this -> assertEquals ( " 2013-01-02 00:00:00 " , $ this -> getCellByTableClass ( 'table_results' , 3 , 7 ) ) ; }
Assert various data present in results table
 @return void
Assert various data present in results table @return void