Fix create table e2e failing test

Introduced by https://github.com/phpmyadmin/phpmyadmin/pull/19968

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
This commit is contained in:
Maurício Meneghini Fauth 2025-12-16 15:47:17 -03:00
parent e24aa3789f
commit 11df4c666d
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8

View File

@ -60,7 +60,6 @@ class CreateTest extends TestBase
$columnDropdownDetails = [
'field_0_6' => 'UNSIGNED',
'field_1_2' => 'VARCHAR',
'field_1_5' => 'utf8mb4_general_ci',
'field_1_4' => 'As defined:',
];
@ -71,6 +70,13 @@ class CreateTest extends TestBase
)->click();
}
// click to load select options
$this->byId('field_1_5')->click();
$this->waitForElement(
'xpath',
'//select[@id=\'field_1_5\']//option[contains(text(), \'utf8mb4_general_ci\')]',
)->click();
$this->byName('field_default_value[1]')->sendKeys('def');
$this->scrollToBottom();