Merge branch 'QA_5_2'

This commit is contained in:
Maurício Meneghini Fauth 2022-02-11 16:29:23 -03:00
commit cf4545b791
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8

View File

@ -4,6 +4,8 @@ declare(strict_types=1);
namespace PhpMyAdmin\Tests\Selenium;
use function sleep;
/**
* @coversNothing
*/
@ -126,12 +128,14 @@ class ServerSettingsTest extends TestBase
$this->waitForElement('name', 'NavigationDisplayLogo')
->click();
$this->saveConfig();
sleep(1);
$this->assertFalse(
$this->isElementPresent('id', 'imgpmalogo')
);
$this->byCssSelector("a[href='#NavigationDisplayLogo']")->click();
$this->saveConfig();
sleep(1);
$this->assertTrue(
$this->isElementPresent('id', 'imgpmalogo')
);