magento / magento/magento2-functional-testing-framework

Entity with a CreateDataKey of createCustomer could not be found

Open
#901 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
154
Forks
134
PR merge metrics
No merged PRs in 30d

Description

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











### Actual result

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the error in Magento 2.4.6 with PHP 8.2 using the createData and deleteData sequence shown in the issue. No file or test path is named, so first locate the functional test definition containing the createCustomer step and trace why that CreateDataKey is not found. Done means the customer, category, and product are created and cleaned up without TestReferenceException.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.