1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-27 11:40:25 +02:00

Wait for exception visibility (#788)

This commit is contained in:
Barry vd. Heuvel
2025-07-16 10:22:49 +02:00
committed by GitHub
parent 7d165ac4a6
commit 95257b0327

View File

@@ -109,6 +109,8 @@ class DebugbarTest extends AbstractBrowserTest
$crawler->selectLink('load ajax content with exception')->click(); $crawler->selectLink('load ajax content with exception')->click();
$client->waitForVisibility('.phpdebugbar-tab[data-collector="exceptions"]');
$client->click($this->getTabLink($crawler, 'exceptions')); $client->click($this->getTabLink($crawler, 'exceptions'));
$client->waitForElementToContain('.phpdebugbar-datasets-switcher', 'ajax_exception.php'); $client->waitForElementToContain('.phpdebugbar-datasets-switcher', 'ajax_exception.php');