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
Test data in .env file:
MAGENTO_BASE_URL=http://localhost/magento2/
MAGENTO_BACKEND_NAME=admin
MAGENTO_ADMIN_USERNAME=admin
MAGENTO_ADMIN_PASSWORD=admin123
BROWSER=chrome
MODULE_WHITELIST=Magento_Framework,Magento_ConfigurableProductWishlist,Magento_ConfigurableProductCatalogSearch
Under command prompt,I run the mftf test using the command:C:\xampp\htdocs\magento2\vendor\bin>mftf run:test AdminLoginTest
I am getting the below error as:
PHPUnit\Framework\Exception Undefined offset: 43
Scenario --
ERROR
15x DEPRECATION: Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead. C:\xampp\htdocs\magento2\vendor\symfony\event-dispatcher\EventDispatcher.php:58
Scenario Steps:
// Entering Action Group [loginAsAdmin] LoginAsAdmin
Details:Chrome driver version: 83,Mftf version: Magento Functional Testing Framework CLI 2.6.5,PHP 7.2.31,Magento version:2.3.5-p1, Selenium Server version is:selenium-server-standalone-3.141.59, Chrome browser version: 83.0.4103.116
Test data in .env file:
MAGENTO_BASE_URL=http://localhost/magento2/
MAGENTO_BACKEND_NAME=admin
MAGENTO_ADMIN_USERNAME=admin
MAGENTO_ADMIN_PASSWORD=admin123
BROWSER=chrome
MODULE_WHITELIST=Magento_Framework,Magento_ConfigurableProductWishlist,Magento_ConfigurableProductCatalogSearch
Under command prompt,I run the mftf test using the command:C:\xampp\htdocs\magento2\vendor\bin>mftf run:test AdminLoginTest
I am getting the below error as:


PHPUnit\Framework\Exception Undefined offset: 43
Scenario --
ERROR
15x DEPRECATION: Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead. C:\xampp\htdocs\magento2\vendor\symfony\event-dispatcher\EventDispatcher.php:58
Scenario Steps:
#1 C:\xampp\htdocs\magento2\vendor\magento\magento2-functional-testing-framework\src\Magento\FunctionalTestingFramework\Codeception\Subscriber\Console.php:236
#2 C:\xampp\htdocs\magento2\vendor\magento\magento2-functional-testing-framework\src\Magento\FunctionalTestingFramework\Codeception\Subscriber\Console.php:165
#3 C:\xampp\htdocs\magento2\vendor\magento\magento2-functional-testing-framework\src\Magento\FunctionalTestingFramework\Codeception\Subscriber\Console.php:130
#4 C:\xampp\htdocs\magento2\vendor\symfony\event-dispatcher\EventDispatcher.php:264
#5 C:\xampp\htdocs\magento2\vendor\symfony\event-dispatcher\EventDispatcher.php:239
#6 C:\xampp\htdocs\magento2\vendor\symfony\event-dispatcher\EventDispatcher.php:73
#7 C:\xampp\htdocs\magento2\dev\tests\acceptance\tests\functional\Magento\FunctionalTest_generated\default\AdminLoginTestCest.php:35
#8 Magento\AcceptanceTest_default\Backend\AdminLoginTestCest->AdminLoginTest
ERRORS!
Tests: 1, Assertions: 0, Errors: 1.
The text was updated successfully, but these errors were encountered: