Merge branch 'QA_5_2'

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2023-08-30 15:58:57 -03:00
commit bb2869b40f
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8

View File

@ -62,8 +62,9 @@ class OperationsTest extends TestBase
$newDbName = $this->databaseName . 'rename';
$this->scrollIntoView('createTableMinimalForm');
$this->byCssSelector('form#rename_db_form input[name=newname]')
->sendKeys($newDbName);
$newNameInput = $this->byCssSelector('form#rename_db_form input[name=newname]');
$newNameInput->clear();
$newNameInput->sendKeys($newDbName);
$this->byCssSelector("form#rename_db_form input[type='submit']")->click();
@ -101,8 +102,9 @@ class OperationsTest extends TestBase
$this->reloadPage();// Reload or scrolling will not work ..
$newDbName = $this->databaseName . 'copy';
$this->scrollIntoView('renameDbNameInput');
$this->byCssSelector('form#copy_db_form input[name=newname]')
->sendKeys($newDbName);
$newNameInput = $this->byCssSelector('form#copy_db_form input[name=newname]');
$newNameInput->clear();
$newNameInput->sendKeys($newDbName);
$this->scrollIntoView('copy_db_form', -150);
$this->byCssSelector('form#copy_db_form input[name="submit_copy"]')->click();