Shorter path to get into browse mode

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2014-02-24 11:25:32 +01:00
parent d6f3eed3dd
commit 283d1f3e4c

View File

@ -50,8 +50,10 @@ class PMA_SeleniumTableBrowseTest extends PMA_SeleniumBase
{
$this->login();
$this->waitForElement('byLinkText', $this->database_name)->click();
$this->waitForElement("byLinkText", "test_table");
$this->byLinkText("Browse")->click();
$this->waitForElement(
"byXPath",
"//*[@id='pma_navigation_tree']//a[contains(., 'test_table')]"
)->click();
$this->waitForElement("byId", "table_results");
}