magento / magento2-functional-testing-framework

Magento2 Functional Testing Framework
Other
155 stars 133 forks source link

HOWTO DO MFTF IN A MAGENTO WITH DIFFERENT WEBSITES SUBDOMAINS? #851

Closed xsanz closed 2 years ago

xsanz commented 3 years ago

.env file only allows to define only one MAGENTO_BASE_URL How can I run MFTF tests if my Magento has multiple websites sudomains? web1.store.com, web2.store.com, ...

Preconditions

  1. Magento 2.4.2 CE
  2. PHP 7.4, Selenium (3.141.59) StandAlone Chrome Debug

Steps to reproduce

  1. Have a Magento 2 with multiple websites, and different base url each one.

Expected result

  1. Can define different MAGENTO_BASE_URL in .env file

Actual result

  1. Can't define more than one MAGENTO_BASE_URL
m2-assistant[bot] commented 3 years ago

Hi @xsanz. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this