magento / magento2-functional-testing-framework

Magento2 Functional Testing Framework
Other
155 stars 132 forks source link

Entity with a CreateDataKey of createCustomer could not be found #901

Open Manjula-kalyan opened 1 year ago

Manjula-kalyan commented 1 year ago

Preconditions

  1. Magento version 2.4.6
  2. php 8.2

Steps to reproduce

  1. while executing the script, getting below error
  2. [Magento\FunctionalTestingFramework\Exceptions\TestReferenceException] Entity with a CreateDataKey of createCustomer could not be found

Expected result

  1. customer/category/product should create without any issue.
    <after>
        <deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
        <deleteData createDataKey="createSimpleProduct" stepKey="deleteProduct"/>
        <deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
    </after> 

Actual result

[Magento\FunctionalTestingFramework\Exceptions\TestReferenceException] Entity with a CreateDataKey of createCustomer could not be found

m2-assistant[bot] commented 1 year ago

Hi @Manjula-kalyan. 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.

densen45 commented 1 year ago

I experience this issue in our custom MFTF tests as well. Wherever the entity Simple_Customer_Without_Address is to be created, the test crashes with the above error.