Skip to content

[MFTF] Coverage for the 30256 Unexpected unchecking of "Append Comments" check-box issue #32226

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

Merged
merged 8 commits into from
Aug 27, 2021

Conversation

AnnaAPak
Copy link
Contributor

@AnnaAPak AnnaAPak commented Feb 19, 2021

Description (*)

The test covers the 30256 Unexpected unchecking of "Append Comments" check-box issue

Related Pull Requests

#31422

Manual testing scenarios (*)

  1. Start order creating in Admin
  2. Add product
  3. Provide a comment
  4. Assert if the "Append Comment" checkbox is checked
  5. Select payment method
  6. Select shipping method
  7. Assert if the "Append Comment" checkbox is checked
  8. Place the order
  9. On the Order Details page check if a customer is notified of the comment

Resolved issues:

  1. resolves [Issue] WIP [MFTF] Coverage for the 30256 Unexpected unchecking of "Append Comments" check-box issue #32381: WIP [MFTF] Coverage for the 30256 Unexpected unchecking of "Append Comments" check-box issue

@m2-assistant
Copy link

m2-assistant bot commented Feb 19, 2021

Hi @AnnaAPak. 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

ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review.

For more details, please, 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, please join the Community Contributions Triage session to discuss the appropriate ticket.

🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

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

@magento-engcom-team magento-engcom-team added Component: Sales Release Line: 2.4 Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner labels Feb 19, 2021
@AnnaAPak
Copy link
Contributor Author

@magento run Functional Tests CE, Functional Tests EE, Functional Tests B2B, Semantic Version Checker

Copy link
Member

@shikhamis11 shikhamis11 left a comment

Choose a reason for hiding this comment

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

hi @AnnaAPak Thank you for the Pull Request.
I believe to reproduce the issue you need to add a comment in order before selecting the shipping methods.
so the steps will be like

Start order creating in Admin
Add product
Provide shipping/billing information
Add Comment
Assert if the "Append Comment" checkbox is checked
Select payment method
Select shipping method
Assert if the "Append Comment" checkbox is checked
Place the order
On the Order Details page check if a customer is notified of the comment

@AnnaAPak
Copy link
Contributor Author

Hi @shikhamis11,
thank you, I did miss the step with providing a comment (in the description, but in the test we have it) - corrected now.

@shikhamis11
Copy link
Member

@AnnaAPak thank you for update. I would like you to add comment in order before selecting shipping method. As per the original issue , the append checkbox is unchecked while getting shipping rate if there is already comment added.

@AnnaAPak
Copy link
Contributor Author

@magento run Functional Tests CE, Functional Tests EE, Functional Tests B2B, Semantic Version Checker

@AnnaAPak
Copy link
Contributor Author

@magento run Functional Tests CE, Functional Tests EE, Functional Tests B2B, Semantic Version Checker

@shikhamis11
Copy link
Member

hi @AnnaAPak
Thank you for the update.
can you add one more step to make sure if the append comment checkbox is checked after [provideComment] step ?
I have shared steps here #32226 (review)

changed click Get shipping methods to conditional one
@AnnaAPak
Copy link
Contributor Author

@magento run Functional Tests CE, Functional Tests EE, Functional Tests B2B, Semantic Version Checker

@AnnaAPak AnnaAPak changed the title [MFTF] Coverage for the 30256 Unexpected unchecking of "Append Comments" check-box issue WIP [MFTF] Coverage for the 30256 Unexpected unchecking of "Append Comments" check-box issue Feb 28, 2021
@AnnaAPak
Copy link
Contributor Author

@magento run Functional Tests EE

@gabrieldagama gabrieldagama added the Priority: P2 A defect with this priority could have functionality issues which are not to expectations. label Mar 4, 2021
@gabrieldagama
Copy link
Contributor

@magento create issue

@shikhamis11
Copy link
Member

@magento run all tests

@engcom-Foxtrot
Copy link
Contributor

@AnnaAPak are you going to continue with this PR?

@engcom-Foxtrot
Copy link
Contributor

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

@shikhamis11
Copy link
Member

@magento run Functional Tests EE, WebAPI 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.

@AnnaAPak
Copy link
Contributor Author

@engcom-Foxtrot sure, I will do my best to complete it till EOW. Thanks.

@shikhamis11
Copy link
Member

@AnnaAPak can you check with the last commit of @engcom-Foxtrot the scrolling issue is fixed?
also, remove WIP if it is completed

@AnnaAPak AnnaAPak changed the title WIP [MFTF] Coverage for the 30256 Unexpected unchecking of "Append Comments" check-box issue [MFTF] Coverage for the 30256 Unexpected unchecking of "Append Comments" check-box issue Jun 30, 2021
@AnnaAPak
Copy link
Contributor Author

@magento run Functional Tests CE, Functional Tests EE, Functional Tests B2B, Semantic Version Checker

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

@shikhamis11
Copy link
Member

@magento run Functional Tests B2B

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

@shikhamis11 shikhamis11 added Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests and removed Progress: needs update labels Jul 1, 2021
@shikhamis11
Copy link
Member

Failing tests are not related to this PR

@shikhamis11
Copy link
Member

@magento run Functional Tests B2B

@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-engcom-team
Copy link
Contributor

Hi @shikhamis11, thank you for the review.
ENGCOM-9137 has been created to process this Pull Request

@engcom-Charlie
Copy link
Contributor

✔️ QA Passed

The provided MFTF test case is working fine and green in build. Please find the Allure report for the same.

image

image

magento-engcom-team pushed a commit that referenced this pull request Aug 27, 2021
@magento-engcom-team magento-engcom-team merged commit bba967b into magento:2.4-develop Aug 27, 2021
@m2-assistant
Copy link

m2-assistant bot commented Aug 27, 2021

Hi @AnnaAPak, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests Component: Sales Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: accept Release Line: 2.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue] WIP [MFTF] Coverage for the 30256 Unexpected unchecking of "Append Comments" check-box issue
6 participants