[RELEASE] Add possibility to define allowed browser console errors
ohader
released this
07 Sep 23:39
[TASK] Add possibility to define allowed browser console errors
Allowed console errors are only valid for one test execution.
Thus, these exceptions need to be declared for every test case.
```
use TYPO3\TestingFramework\Core\Acceptance\Helper\Acceptance;
class SomeCest
{
public function someTest(Scenario $scenario)
{
$acceptance = $scenario->current('modules')['\\' . Acceptance::class] ?? null;
$acceptnance->allowBrowserError('/Found invalid token [[:digit:]]{40}/i');
...
```