Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate committed Feb 24, 2014
2 parents d1aac14 + 770edd0 commit 128d63d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion test/selenium/PmaSeleniumImportTest.php
Expand Up @@ -86,7 +86,6 @@ public function testTableImport()
);

// go to database page
$this->byLinkText("Databases")->click();
$this->waitForElement("byLinkText", $this->database_name)->click();
$this->waitForElement(
"byXPath",
Expand Down
4 changes: 3 additions & 1 deletion test/selenium/TestBase.php
Expand Up @@ -244,6 +244,8 @@ public function login($username = '', $password = '')
$passwordField = $this->byId('input_password');
$passwordField->value($password);
$this->byId('input_go')->click();
/* Wait for loading the page */
$this->waitForElement("byLinkText", $this->database_name);
}

/**
Expand Down Expand Up @@ -419,7 +421,7 @@ public function typeInTextArea($text)
public function expandMore()
{
try {
$more = $this->byCssSelector('li.submenu > a');
$more = $this->waitForElement('byCssSelector', 'li.submenu > a');
} catch (PHPUnit_Extensions_Selenium2TestCase_WebDriverException $e) {
return;
}
Expand Down

0 comments on commit 128d63d

Please sign in to comment.