Skip to content

Conversation

rogerdz
Copy link
Contributor

@rogerdz rogerdz commented Sep 21, 2022

Description (*)

Magento Admin - Hitting enter when configuring a product to add to order in admin does not save the custom options

Related Pull Requests

Fixed Issues (if relevant)

  1. Fixes Magento Admin - Hitting enter when configuring a product to add to order in admin does not save the custom options #35284

Manual testing scenarios (*)

  1. ...
  2. ...

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

@m2-assistant
Copy link

m2-assistant bot commented Sep 21, 2022

Hi @rogerdz. Thank you for your contribution
Here are some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

❗ Automated tests can be triggered manually with an appropriate comment:

  • @magento run all tests - run or re-run all required tests against the PR changes
  • @magento run <test-build(s)> - run or re-run specific test build(s)
    For example: @magento run Unit Tests

<test-build(s)> is a comma-separated list of build names. Allowed build names are:

  1. Database Compare
  2. Functional Tests CE
  3. Functional Tests EE,
  4. Functional Tests B2B
  5. Integration Tests
  6. Magento Health Index
  7. Sample Data Tests CE
  8. Sample Data Tests EE
  9. Sample Data Tests B2B
  10. Static Tests
  11. Unit Tests
  12. WebAPI Tests
  13. Semantic Version Checker

You can find more information about the builds here

ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review.

For more details, review the Magento Contributor Guide documentation.

⚠️ According to the Magento Contribution requirements, all Pull Requests must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

@m2-community-project m2-community-project bot added Priority: P3 May be fixed according to the position in the backlog. Progress: pending review labels Sep 21, 2022
@rogerdz
Copy link
Contributor Author

rogerdz commented Sep 21, 2022

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

Copy link
Contributor

@edenduong edenduong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution !
P/S: This PR can be covered by MFTF test (It is similar AdminCreateOrderWithConfigurableProductTest test case with AdminAddToOrderConfigurableProductActionGroup action group). You can created it to cover this change. Could you please add it ? I think it is more better.

Copy link
Contributor

@edenduong edenduong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution !
P/S: This PR can be covered by MFTF test (It is similar AdminCreateOrderWithConfigurableProductTest test case and AdminAddToOrderConfigurableProductActionGroup action group with small modify). You can created new test case to cover this change. Could you please add it ? I think it is more better.

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

2 similar comments
@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@rogerdz
Copy link
Contributor Author

rogerdz commented Sep 22, 2022

@edenduong I added MFTF test

@rogerdz
Copy link
Contributor Author

rogerdz commented Sep 22, 2022

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

<stories value="AC-2040"/>
<description value="Create order with configurable product."/>
<features value="Sales"/>
<testCaseId value="AC-2040"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is duplicate testCaseId in Magento. I think you can leave it as empty like that test case

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it ^^

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added new commit

@edenduong edenduong added Award: MFTF test coverage and removed Auto-Tests: Not Covered Changes in Pull Request requires coverage by auto-tests labels Sep 23, 2022
@edenduong edenduong added Auto-Tests: Covered All changes in Pull Request is covered by auto-tests Award: bug fix and removed Award: MFTF test coverage labels Sep 23, 2022
@rogerdz
Copy link
Contributor Author

rogerdz commented Sep 23, 2022

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

Comment on lines 13 to 14
<title value="Create Order in Admin with configurable product"/>
<description value="Create order with configurable product."/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add "with pressing enter key in option select modal" to title and description to separate it with the normal flow ? Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank @edenduong, I added new commit

@rogerdz
Copy link
Contributor Author

rogerdz commented Sep 23, 2022

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@engcom-Lima
Copy link
Contributor

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @engcom-Lima. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@magento-devops-reposync-svc magento-devops-reposync-svc merged commit b7b4479 into magento:2.4-develop Dec 20, 2022
@engcom-Lima
Copy link
Contributor

This PR is already merged. Hence, moving this PR to recently merged.

@engcom-Lima
Copy link
Contributor

✔️ QA Passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Tests: Covered All changes in Pull Request is covered by auto-tests Award: bug fix Priority: P3 May be fixed according to the position in the backlog. Progress: testing in progress
Projects
Status: Recently Merged
Development

Successfully merging this pull request may close these issues.

Magento Admin - Hitting enter when configuring a product to add to order in admin does not save the custom options
4 participants