Comments (5)
Hello @DeepPopat
Did you specify MAGENTO_BACKEND_NAME
in .env
file located in <magento_root>/dev/tests/acceptance
?
Here is an example file located at the same directory https://github.com/magento/magento2/blob/2.2-develop/dev/tests/acceptance/.env.example#L34
Please add your .env
file so I will be able to verify basic configuration is correct.
from magento2-functional-testing-framework.
Hello @okolesnyk
Yes, I specify MAGENTO_BACKEND_NAME in .env file located in <magento_root>/dev/tests/acceptance
Please guide me, if I am on the wrong way
My ".env" file is...
#Copyright © Magento, Inc. All rights reserved.
#See COPYING.txt for license details.
#*** Start of example .env ***#
MAGENTO_BASE_URL=http://127.0.0.1:32772/
MAGENTO_BACKEND_NAME=admin
MAGENTO_ADMIN_USERNAME=admin
MAGENTO_ADMIN_PASSWORD=123123q
SELENIUM_HOST=127.0.0.1
SELENIUM_PORT=4444
SELENIUM_PROTOCOL=http
SELENIUM_PATH=/wd/hub
MAGENTO_RESTAPI_SERVER_HOST=127.0.0.1
MAGENTO_RESTAPI_SERVER_PORT=32769
TESTS_BP=/Users/First_Last/GitHub/magento2ce/dev/tests/acceptance/tests/functional
FW_BP=/Users/First_Last/GitHub/magento2-functional-testing-framework
TESTS_MODULE_PATH=/Users/First_Last/GitHub/magento2ce/dev/tests/acceptance/tests/functional/Magento/FunctionalTest
MODULE_WHITELIST=Magento_NewModule
#*** End of example .env ***#
#*** Start of .env ***#
#*** Set the base URL for your Magento instance ***#
MAGENTO_BASE_URL=http://192.168.0.43/Deep/Deep/magentoCOMP/
#*** Set the Admin Username and Password for your Magento instance ***#
MAGENTO_BACKEND_NAME=admin_ynrk3r
MAGENTO_ADMIN_USERNAME=admin
MAGENTO_ADMIN_PASSWORD=Admin@123
#*** Selenium Server Protocol, Host, Port, and Path, with local defaults. Uncomment and change if not running Selenium locally.
#SELENIUM_HOST=127.0.0.1
#SELENIUM_PORT=4444
#SELENIUM_PROTOCOL=http
#SELENIUM_PATH=/wd/hub
#*** Uncomment and set host & port if your dev environment needs different value other than MAGENTO_BASE_URL for Rest API Requests ***#
#MAGENTO_RESTAPI_SERVER_HOST=
#MAGENTO_RESTAPI_SERVER_PORT=
#*** Uncomment these properties to set up a dev environment with symlinked projects ***#
#TESTS_BP=
#FW_BP=
#TESTS_MODULE_PATH=
#MODULE_WHITELIST=
#MFTF_DEBUG=true
#*** End of .env ***#
from magento2-functional-testing-framework.
Hello Sir @okolesnyk
Can you please guide me more to fix this error?
from magento2-functional-testing-framework.
Hi @DeepPopat
Sorry for such long response!
I think test tries to open Magento admin and waiting Login page. But probably you are already logged in. Maybe by other test or you did it manually.
Try to verify while test running and error occurs in browser test opens login form and not a admin dashboard page.
from magento2-functional-testing-framework.
@DeepPopat
We are closing this issue due to inactivity. If you'd like to update it, please reopen the issue.
from magento2-functional-testing-framework.
Related Issues (20)
- csharpru/vault-php-guzzle6-transport marked as abandoned HOT 2
- mftf doctor produces php notices because of missed variables HOT 1
- In <wait>, when stepkey contains spaces, test silently crash, no specific error reported HOT 1
- Allow use of Credentials as ActionGroup Argument HOT 2
- Wider Magento version support HOT 2
- Mustache.php v2.14.1 security release HOT 1
- php 8.1 support HOT 1
- Unable to generate Test files HOT 3
- Hashicorp Vault PHP lib being instantiated with wrong params HOT 4
- Can't install MFTF framework HOT 4
- Load URL with Basic Http Authentication in MFTF HOT 2
- Entity with a CreateDataKey of createSimpleProduct could not be found HOT 1
- Invalid argument supplied for foreach() at ../src/Magento/FunctionalTestingFramework/Extension/BrowserLogUtil HOT 1
- CLI command execution in MFTF throws error HOT 2
- How to add chrome browser desired capabilities for testing ? HOT 1
- Errors via allure dependency HOT 3
- upgrade:tests references nonexistent class HOT 2
- Entity with a CreateDataKey of createCustomer could not be found HOT 2
- Serialization of 'Closure' is not allowed HOT 1
- update symfony/http-foundation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2-functional-testing-framework.