magento / magento2-functional-testing-framework

Magento2 Functional Testing Framework
Other
155 stars 132 forks source link

mftf doctor produces php notices because of missed variables #877

Open asannikov opened 2 years ago

asannikov commented 2 years ago

MFTF produces php notices on running vendor/bin/mftf doctor.

Preconditions

  1. Magento 2.4.3-p1
  2. Selenium 3.8.1
  3. selenium/standalone-chrome-debug

Steps to reproduce

  1. run vendor/bin/mftf doctor

Expected result

no warnings or notices in the console

Actual result

it produces several notices:

PHP Notice:  Undefined property: Magento\FunctionalTestingFramework\Module\MagentoWebDriverDoctor::$httpProxy in /magento-demo/src/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Module/MagentoWebDriverDoctor.php on line 94

Notice: Undefined property: Magento\FunctionalTestingFramework\Module\MagentoWebDriverDoctor::$httpProxy in /magento-demo/src/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Module/MagentoWebDriverDoctor.php on line 94
PHP Notice:  Undefined property: Magento\FunctionalTestingFramework\Module\MagentoWebDriverDoctor::$httpProxyPort in /magento-demo/src/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Module/MagentoWebDriverDoctor.php on line 95

Notice: Undefined property: Magento\FunctionalTestingFramework\Module\MagentoWebDriverDoctor::$httpProxyPort in /magento-demo/src/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Module/MagentoWebDriverDoctor.php on line 95

@magento I am working on this

m2-assistant[bot] commented 2 years ago

Hi @asannikov. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this