Fix some Selenium tests possible fails

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2021-05-22 16:26:57 -03:00
parent c1c379fc23
commit 9c3a9e9981
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
2 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,7 @@ class OperationsTest extends TestBase
$this->reloadPage();// Reload or scrolling will not work ..
$new_db_name = $this->databaseName . 'copy';
$this->scrollIntoView('renameDbNameInput');
$this->byCssSelector('form#copy_db_form input[name=newname]')
->sendKeys($new_db_name);

View File

@ -154,6 +154,7 @@ class ExportTest extends TestBase
if ($type === 'table') {
$this->scrollIntoView('radio_allrows_0');
$this->byCssSelector('label[for=radio_allrows_0]')->click();
$this->scrollIntoView('limit_to');
$this->byName('limit_to')->clear();
$this->byName('limit_to')->sendKeys('1');
}