Skip to content

Allow use of Credentials as ActionGroup Argument #880

Open
@xsanz

Description

@xsanz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions