Closed robov closed 8 months ago
I get this error when running my test Facebook\WebDriver\Exception\UnexpectedAlertOpenException: unexpected alert open: {Alert text :
Facebook\WebDriver\Exception\UnexpectedAlertOpenException: unexpected alert open: {Alert text :
However when I derive my DuskTestCase from the original one use Laravel\Dusk\TestCase as BaseTestCase; I do not get this error...
use Laravel\Dusk\TestCase as BaseTestCase;
My testscript expects the alert open, and uses $browser->acceptDialog(); to close it
$browser->acceptDialog();
This code only works when I derive from the starndard, when I derive from the package this breaks with unexpected alert
$browser->waitForDialog(5); $browser->acceptDialog(); // do the delete
I get this error when running my test
Facebook\WebDriver\Exception\UnexpectedAlertOpenException: unexpected alert open: {Alert text :
However when I derive my DuskTestCase from the original one
use Laravel\Dusk\TestCase as BaseTestCase;
I do not get this error...My testscript expects the alert open, and uses
$browser->acceptDialog();
to close it