[PHPUnit\Framework\Exception] array_merge_recursive(): Argument #2 is not an array

Тест вылетает с ошибкой, использую
codeception 3.1

Подскажите, как поправить ошибку?

Логи и ошибка вот такая …

> ``` [PHPUnit\Framework\Exception] array_merge_recursive(): Argument #2 is not an array > > #1 Codeception\Subscriber\ErrorHandler->errorHandler > #2 /home/test/auto_test/vendor/facebook/webdriver/lib/Remote/DesiredCapabilities.php:240 > #3 /home/test/auto_test/vendor/facebook/webdriver/lib/Remote/RemoteWebDriver.php:112 > #4 /home/test/auto_test/vendor/symfony/event-dispatcher/EventDispatcher.php:264 > #5 /home/test/auto_test/vendor/symfony/event-dispatcher/EventDispatcher.php:239 > #6 /home/test/auto_test/vendor/symfony/event-dispatcher/EventDispatcher.php:73 > Artifacts:``` 

не знаком с Codexception, но

argument #2 is not an array 

может это? вы предполагаете что у вас список а у вас не список. но было бы хорошо добавить код того что запускаете.

Всего лишь
$I->amOnPage(’/’);

такая ошибка возникает, если криво настроен acceptance.sute.yml

1 лайк