Skip to content

mftf doctor produces php notices because of missed variables #877

Open
@asannikov

Description

@asannikov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions