magento2-functional-testing-framework icon indicating copy to clipboard operation
magento2-functional-testing-framework copied to clipboard

CLI command execution in MFTF throws error

Open Manjula-kalyan opened this issue 2 years ago • 2 comments

CLI command execution in MFTF throws error <magentoCLI command="cache:clean config" stepKey="cacheClean"/>

Preconditions

  1. Add cli command in MFTF script anywhere inside before/after/inside the script
  2. Run the MFTF script which contains any one of the CLI commands

Steps to reproduce

  1. Add cli command in MFTF script anywhere inside before/after/inside the script
  2. Run the MFTF script which contains any one of the CLI commands

Expected result

  1. TEST should pass without error

Actual result

  1. Error displayed while executing, showing 404 error

Screenshot from 2022-07-25 17-12-43

Manjula-kalyan avatar Aug 18 '22 09:08 Manjula-kalyan

Hi @Manjula-kalyan. 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


m2-assistant[bot] avatar Aug 18 '22 09:08 m2-assistant[bot]

I am having the same problem. It seems to be a CloudFront issue?

When I run mftf doctor, it gives me more info:

image

hopeseekr avatar Sep 01 '22 23:09 hopeseekr