Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow use of Credentials as ActionGroup Argument #880

Open
xsanz opened this issue Jan 5, 2022 · 2 comments
Open

Allow use of Credentials as ActionGroup Argument #880

xsanz opened this issue Jan 5, 2022 · 2 comments

Comments

@xsanz
Copy link

xsanz commented Jan 5, 2022

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
@m2-assistant
Copy link

m2-assistant bot commented Jan 5, 2022

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


@xsanz
Copy link
Author

xsanz commented Jun 9, 2022

Hello,

There's any feedback about this?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant