Closed
Description
Currently you can only reference credentials (secret data) in fill field actions. Instead, it should be possible to access this data from magentoCLI calls as well
Preconditions
- Create a credentials file and add values to it
Steps to reproduce
- In a block (either in a test or in a suite) add
<magentoCLI command="config:set some/secret/password {{_CREDS.mySecretPassword}}" stepKey="SetSecretPassword"/>
- Attempt to generate the suite/test
bin/mftf generate:suite MySuite
Expected result
- Tests should be generated
Actual result
- Error message:
In ActionMergeUtil.php line 112:
You cannot reference secret data outside of fill field actions
generate:suite [-r|--remove] [--] <suites> (<suites>)...