Giter Club home page Giter Club logo

Comments (5)

okolesnyk avatar okolesnyk commented on August 14, 2024

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.

DeepPopat avatar DeepPopat commented on August 14, 2024

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.

DeepPopat avatar DeepPopat commented on August 14, 2024

Hello Sir @okolesnyk
Can you please guide me more to fix this error?

from magento2-functional-testing-framework.

okolesnyk avatar okolesnyk commented on August 14, 2024

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.

okolesnyk avatar okolesnyk commented on August 14, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.