Skip to content

Commit

Permalink
Add some explicit waits for Selenium\ExportTest::testDbExport
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Feb 18, 2022
1 parent d7f5f29 commit 7363bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/selenium/ExportTest.php
Expand Up @@ -159,13 +159,13 @@ private function doExport(string $type, string $plugin): string
$this->scrollIntoView('checkbox_sql_if_not_exists');
$ele = $this->byId('checkbox_sql_if_not_exists');
if (! $ele->isSelected()) {
$this->byCssSelector('label[for=checkbox_sql_if_not_exists]')->click();
$this->waitForElement('cssSelector', 'label[for=checkbox_sql_if_not_exists]')->click();
}
}

$this->scrollToBottom();

$this->byId('buttonGo')->click();
$this->waitForElement('id', 'buttonGo')->click();
$this->waitAjax();

return $this->waitForElement('id', 'textSQLDUMP')->getText();
Expand Down

0 comments on commit 7363bd8

Please sign in to comment.