You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>)...
The text was updated successfully, but these errors were encountered:
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
Steps to reproduce
<magentoCLI command="config:set some/secret/password {{_CREDS.mySecretPassword}}" stepKey="SetSecretPassword"/>
bin/mftf generate:suite MySuite
Expected result
Actual result
The text was updated successfully, but these errors were encountered: