diff --git a/tests/DebugBar/Tests/Browser/DebugbarTest.php b/tests/DebugBar/Tests/Browser/DebugbarTest.php index e6b6824..4f1ba98 100644 --- a/tests/DebugBar/Tests/Browser/DebugbarTest.php +++ b/tests/DebugBar/Tests/Browser/DebugbarTest.php @@ -109,6 +109,8 @@ class DebugbarTest extends AbstractBrowserTest $crawler->selectLink('load ajax content with exception')->click(); + $client->waitForVisibility('.phpdebugbar-tab[data-collector="exceptions"]'); + $client->click($this->getTabLink($crawler, 'exceptions')); $client->waitForElementToContain('.phpdebugbar-datasets-switcher', 'ajax_exception.php');