You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After done all config following this guide https://devdocs.magento.com/mftf/docs/getting-started.html#set-up-a-standalone-mftf. I Ran bin/mftf run:test AdminLoginSuccessfulTest and getting an exception [PHPUnit\Framework\Exception] Invalid argument supplied for foreach() at ../src/Magento/FunctionalTestingFramework/Extension/BrowserLogUtil.php:46
Line 46:
43 public static function getLogsOfType($log, $type)
44 {
45 $errors = [];
46 foreach ($log as $entry) {
47 if (array_key_exists("source", $entry) && $entry["source"] === $type) {
48 $errors[] = $entry;
49 }
50 }
51 return $errors;
52 }
Variable $log at line 46 is string "/session//log".
How do I resolve this issue?
Expected result
bin/mftf run:test AdminLoginSuccessfulTest without exception
Preconditions
Steps to reproduce
Line 46:
Variable $log at line 46 is string "/session//log".
How do I resolve this issue?
Expected result
Actual result
The text was updated successfully, but these errors were encountered: