magento / magento/magento2-functional-testing-framework

CLI command execution in MFTF throws error

Open
#895 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
154
Forks
134
PR merge metrics
No merged PRs in 30d

Description

CLI command execution in MFTF throws error

### 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
2.
![Screenshot from 2022-07-25 17-12-43](https://user-images.githubusercontent.com/100841301/185361295-1c75ca57-ea89-4117-8df2-781c8d86ffa2.png)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running an MFTF script containing the shown command, and inspect the 404 error during CLI execution. The issue names no source file or test; done means the script's CLI command executes without the error and the test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.