magento2-functional-testing-framework
magento2-functional-testing-framework copied to clipboard
Allow use of Credentials as ActionGroup Argument
Preconditions
- MFTF version 3.5.0
Steps to reproduce
Trying an ActionGroup like this <actionGroup ref="AlternateAdminLoginActionGroup" stepKey="loginAsAdmin"> <argument name="username" value="{{_ENV.MAGENTO_ADMIN_USERNAME}}"/> <argument name="password" value="{{_CREDS.admin_password}}"/> </actionGroup>
Expected result
- Test is generated and Run without problems
Actual result
- Test is not Generated Error Log reports [2022-01-05 08:19:11] Magento\FunctionalTestingFramework\Util\TestGenerator.ERROR: Line 277: You cannot reference secret data outside of the fillField, magentoCLI and createData actions in Test
Hi @xsanz. 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
- Join Magento Community Engineering Slack and ask your questions in #github channel.
Hello,
There's any feedback about this?
Thank you