Skip to content

Commit 95257b0

Browse files
authored
Wait for exception visibility (php-debugbar#788)
1 parent 7d165ac commit 95257b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/DebugBar/Tests/Browser/DebugbarTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ public function testDebugbarAjax(): void
109109

110110
$crawler->selectLink('load ajax content with exception')->click();
111111

112+
$client->waitForVisibility('.phpdebugbar-tab[data-collector="exceptions"]');
113+
112114
$client->click($this->getTabLink($crawler, 'exceptions'));
113115

114116
$client->waitForElementToContain('.phpdebugbar-datasets-switcher', 'ajax_exception.php');

0 commit comments

Comments
 (0)