Skip to content
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

26375 braintree payment address issue #26378

Merged
merged 3 commits into from
Feb 9, 2020
Merged

26375 braintree payment address issue #26378

merged 3 commits into from
Feb 9, 2020

Conversation

chris-pook
Copy link
Contributor

Removing PrototypeJS dependency from this file which is the cause of issue #26375.

Description (*)

This may require further refactoring as it is not clear if/where the Prototype library is being used here. Either way Prototype shouldn't be required.

Fixed Issues (if relevant)

  1. Switching billing address causes Javascript function text to render in front-end checkout payment section #26375

Manual testing scenarios (*)

As per issue #26375

  1. Enable and configure Braintree module
  2. Register a customer account
  3. Add at least one address to the customer account
  4. Add a product to cart
  5. Go to checkout
  6. Proceed to payment step
  7. Untick "My billing and shipping address are the same"
  8. Select an address from dropdown
  9. Click "update"

Questions or comments

Need to ensure PrototypeJS is not being used in the file and if it is refactor to fully remove the dependency.

Contribution checklist (*)

  • [ x ] Pull request has a meaningful description of its purpose
  • [ x ] All commits are accompanied by meaningful commit messages
  • [ x ] All new or changed code is covered with unit/integration tests (if applicable)
  • [ x ] All automated tests passed successfully (all builds are green)

josephmcdermott and others added 3 commits September 19, 2017 11:03
Pulling latest from M2 develop in to Absolute develop
This may need additional refactoring if PrototypeJS is being used (this is not currently clear)
@chris-pook chris-pook requested a review from viktym January 14, 2020 09:55
@chris-pook chris-pook requested a review from DrewML as a code owner January 14, 2020 09:55
@m2-assistant
Copy link

m2-assistant bot commented Jan 14, 2020

Hi @chris-pook. Thank you for your contribution
Here is 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

For more details, please, review the Magento Contributor Guide documentation.

@chris-pook chris-pook closed this Jan 14, 2020
@m2-assistant
Copy link

m2-assistant bot commented Jan 14, 2020

Hi @chris-pook, 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.

@chris-pook chris-pook reopened this Jan 14, 2020
@chris-pook
Copy link
Contributor Author

Says "Functional Tests EE" failed, however the report shows no failures. I've tried a re-run.

@chris-pook
Copy link
Contributor Author

FYI these automated test checks seem pretty flaky. Had to re-run numerous times as they incorrectly reported failures.

@nuzil nuzil self-assigned this Jan 15, 2020
@nuzil
Copy link
Contributor

nuzil commented Jan 15, 2020

@magento give me test instance

@magento-engcom-team
Copy link
Contributor

Hi @nuzil. Thank you for your request. I'm working on Magento instance for you

@magento-engcom-team
Copy link
Contributor

Hi @nuzil, here is your new Magento instance.
Admin access: https://pr-26378.instances.magento-community.engineering/admin
Login: admin Password: 123123q

@magento-engcom-team
Copy link
Contributor

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

@engcom-Alfa engcom-Alfa self-assigned this Jan 15, 2020
@engcom-Alfa
Copy link
Contributor

engcom-Alfa commented Jan 15, 2020

✔️ QA Passed

Before:
before

After:
after

@m2-assistant
Copy link

m2-assistant bot commented Feb 9, 2020

Hi @chris-pook, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants