Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
128d63d453
@ -86,7 +86,6 @@ class PMA_SeleniumImportTest extends PMA_SeleniumBase
|
||||
);
|
||||
|
||||
// go to database page
|
||||
$this->byLinkText("Databases")->click();
|
||||
$this->waitForElement("byLinkText", $this->database_name)->click();
|
||||
$this->waitForElement(
|
||||
"byXPath",
|
||||
|
||||
@ -244,6 +244,8 @@ abstract class PMA_SeleniumBase extends PHPUnit_Extensions_Selenium2TestCase
|
||||
$passwordField = $this->byId('input_password');
|
||||
$passwordField->value($password);
|
||||
$this->byId('input_go')->click();
|
||||
/* Wait for loading the page */
|
||||
$this->waitForElement("byLinkText", $this->database_name);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -419,7 +421,7 @@ abstract class PMA_SeleniumBase extends PHPUnit_Extensions_Selenium2TestCase
|
||||
public function expandMore()
|
||||
{
|
||||
try {
|
||||
$more = $this->byCssSelector('li.submenu > a');
|
||||
$more = $this->waitForElement('byCssSelector', 'li.submenu > a');
|
||||
} catch (PHPUnit_Extensions_Selenium2TestCase_WebDriverException $e) {
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user