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

Allow use of Credentials as ActionGroup Argument

Open xsanz opened this issue 3 years ago • 2 comments

Preconditions

  1. 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

  1. Test is generated and Run without problems

Actual result

  1. 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

xsanz avatar Jan 05 '22 08:01 xsanz

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


m2-assistant[bot] avatar Jan 05 '22 08:01 m2-assistant[bot]

Hello,

There's any feedback about this?

Thank you

xsanz avatar Jun 09 '22 01:06 xsanz