Skip to content

Conversation

aasim110
Copy link
Contributor

@aasim110 aasim110 commented Jun 5, 2023

Description (*)

Changed Magento/Paypal/Model/Cart.php file to add child product SKUs with the Parent product title to identify the product title with the child SKU.
Check this screenshot for more information: https://prnt.sc/0VgjbwOg-omA

Related Pull Requests

Fixed Issues (if relevant)

  1. Fixes [2.4.5-p1] PayPal Express Checkout - Missing SKU & Full product [variation] title #36808

Manual testing scenarios (*)

  1. Enable PayPal Express Checkout [sandbox or live, the result is the same so just do sandbox for this test]
  2. Enable "Transfer Cart Line Items"
  3. Enable "PayPal Guest Checkout"
  4. Submit the Order (by credit card using a test number provided HERE). It is the same end result using a PayPal personal account but for testing purposes just use a test credit card for easier testing.
  5. Check PayPal transactions in the PayPal sandbox account (not Magento)

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 Jun 5, 2023

Hi @aasim110. Thank you for your contribution!
Here are some useful tips on 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 Code Contributions documentation.
Join Magento Community Engineering Slack and ask your questions in #github channel.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 5, 2023

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 5, 2023

@magento run Functional Tests EE, Functional Tests CE, 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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 5, 2023

@magento run Functional Tests EE

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@engcom-Hotel engcom-Hotel added the Priority: P3 May be fixed according to the position in the backlog. label Jun 6, 2023
@aasim110
Copy link
Contributor Author

aasim110 commented Jun 6, 2023

@magento run Functional Tests EE

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 6, 2023

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 7, 2023

@magento run Functional Tests CE

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 7, 2023

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 7, 2023

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 7, 2023

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 8, 2023

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 8, 2023

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 9, 2023

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jun 9, 2023

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@aasim110
Copy link
Contributor Author

aasim110 commented Jul 5, 2023

@engcom-Hotel functional failed tests do not refer to edits from the PR, kindly check again.
Thanks!

@engcom-Hotel
Copy link
Contributor

Hello @aasim110,

Thanks for the reply!

Yes, I checked it again and it seems the functional test failures are flaky. But please add some automated tests to cover this fix.

Thanks

@aasim110
Copy link
Contributor Author

aasim110 commented Jul 6, 2023

@engcom-Hotel there is no need to add automated tests for this case because this fix will update the product name with the child SKU and the product name is already available in Test cases.

@engcom-Hotel
Copy link
Contributor

Hello @aasim110,

I agree with your point, we don't require any automated tests here. Hence moving this PR for testing.

Thanks

@engcom-Hotel engcom-Hotel self-requested a review July 11, 2023 12:24
@engcom-Lima
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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@engcom-Lima
Copy link
Contributor

engcom-Lima commented Jul 13, 2023

✔️ QA Passed

Preconditions:

  • Install fresh Magento 2.4-develop and PHP 8.1

Manual testing scenario:

  1. Enable PayPal Express Checkout [sandbox or live, the result is the same so just do sandbox for this test]
  2. Enable "Transfer Cart Line Items"
  3. Enable "PayPal Guest Checkout"
  4. Submit the Order.
  5. Check PayPal transactions in the PayPal sandbox account (not Magento)

Before: ✖️

Screenshot 2023-07-13 at 12 12 54 PM Screenshot 2023-07-13 at 12 37 50 PM

After: ✔️

Screenshot 2023-07-13 at 2 06 26 PM Screenshot 2023-07-13 at 1 29 27 PM Screenshot 2023-07-13 at 3 47 17 PM

Builds are failed. Hence, moving this PR to Extended Testing

@engcom-Echo
Copy link
Contributor

@magento run Unit Tests, WebAPI Tests,Integration Tests,Functional Tests EE,Functional Tests CE

@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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@engcom-Echo
Copy link
Contributor

@magento run WebAPI Tests,Integration Tests,Unit 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 message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@engcom-Echo
Copy link
Contributor

Functional Tests CE, Functional Tests EE are different on last two run on same commit.
Functional Tests CE
Run1
image

Run2
image

Functional Tests EE
Run1
image

Run2
image

And Integration Tests failure are not related to the PR.
Hence moving it to Merge In Progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: P3 May be fixed according to the position in the backlog. Progress: accept Project: Community Picked PRs upvoted by the community
6 participants