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

fixed disabled guest checkout issue in case of downloadable product #23972

Merged
merged 32 commits into from
Aug 1, 2020

Conversation

rani-priya
Copy link
Contributor

@rani-priya rani-priya commented Aug 1, 2019

fixed disabled guest checkout issue in case of downloadable product #23971

Description (*)

Related Pull Requests

Fixed Issues (if relevant)

  1. fixes Disable Guest Checkout if Cart Contains Downloadable Items doesn't work correctly #23971: Disable Guest Checkout if Cart Contains Downloadable Items doesn't work correctly

Manual testing scenarios (*)

  1. navigate to backend->stores->configuration->catalog->Downloadable Product Options
  2. Set Shareable -> No and Disable Guest Checkout if Cart Contains Downloadable Items -> No
    downloadable-product-issue

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)
  • All automated tests passed successfully (all builds are green)

@m2-assistant
Copy link

m2-assistant bot commented Aug 1, 2019

Hi @rani-webkul. 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.3-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

@josefbehr
Copy link
Contributor

@rani-webkul apparently, some tests have to be adapted, too, for this to work. Please fix those, and I see no problem in merging this. Thank you!

@josefbehr josefbehr self-assigned this Aug 13, 2019
@josefbehr
Copy link
Contributor

@rani-webkul Awesome, thanks.

@magento-engcom-team
Copy link
Contributor

Hi @josefbehr, thank you for the review.
ENGCOM-5629 has been created to process this Pull Request
✳️ @josefbehr, could you please add one of the following labels to the Pull Request?

Label Description
Auto-Tests: Covered All changes in Pull Request is covered by auto-tests
Auto-Tests: Not Covered Changes in Pull Request requires coverage by auto-tests
Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests

@josefbehr josefbehr added the Auto-Tests: Covered All changes in Pull Request is covered by auto-tests label Aug 15, 2019
@engcom-Alfa engcom-Alfa self-assigned this Aug 15, 2019
@engcom-Alfa
Copy link
Contributor

✔️ QA Passed

@ghost ghost assigned sidolov Sep 3, 2019
@ghost ghost removed the Progress: accept label Sep 3, 2019
@ihor-sviziev
Copy link
Contributor

@magento run all tests

Copy link
Contributor

@ihor-sviziev ihor-sviziev left a comment

Choose a reason for hiding this comment

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

✔ Approved.

Failing tests looks not related to changes form this PR.

@ghost ghost moved this from Review in Progress to Ready for Testing in Pull Requests Dashboard Jun 10, 2020
@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev, thank you for the review.
ENGCOM-5629 has been created to process this Pull Request

@engcom-Alfa engcom-Alfa moved this from Ready for Testing to Testing in Progress in Pull Requests Dashboard Jun 17, 2020
@engcom-Alfa
Copy link
Contributor

✔️ QA Passed

What was tested:

  1. The problem described in Disable Guest Checkout if Cart Contains Downloadable Items doesn't work correctly #23971

Manual testing scenario:

  1. Create Downloadable product with Shareable set no No
    Screenshot from 2020-04-17 16-02-42
  2. Go to Admin -> Stores -> Configuration -> Catalog -> Catalog -> Downloadable Product Options;
  3. Set Shareable -> No & Disable Guest Checkout if Cart Contains Downloadable Items -> No
    screenshot4444444

Before: ✖️ Guest checkout is enabled

screenshotbefore

After: ✔️ Guest checkout is disabled

Screenshot from 2020-04-17 16-38-27

2. Also checked the additional cases:

  • Downloadable product with Shareable = Yes

Manual testing scenario:

  1. Create Downloadable product with Shareable set to Yes;
  2. Go to Admin -> Stores -> Configuration -> Catalog -> Catalog -> Downloadable Product Options;
  3. Set Shareable -> No & Disable Guest Checkout if Cart Contains Downloadable Items -> No
    screenshot4444444

Actual Result: ✔️ Guest checkout is enabled

screenshotbefore

  • Downloadable product with Shareable = Use config

Manual testing scenario:

  1. Create Downloadable product with Shareable set to Use config;
  2. Go to Admin -> Stores -> Configuration -> Catalog -> Catalog -> Downloadable Product Options;
  3. Set Shareable -> No & Disable Guest Checkout if Cart Contains Downloadable Items -> No
    screenshot4444444

Actual Result: ✔️ Guest checkout is disabled

Screenshot from 2020-04-17 16-38-27

  • Disable Guest Checkout if Cart Contains Downloadable Items set to Yes

Manual testing scenario:

  1. Create Downloadable product with Shareable set to Use config;
  2. Go to Admin -> Stores -> Configuration -> Catalog -> Catalog -> Downloadable Product Options;
  3. Set Shareable -> Yes & Disable Guest Checkout if Cart Contains Downloadable Items -> Yes
    screenshot777

Actual Result: ✔️ Guest checkout is disabled

Screenshot from 2020-04-17 16-38-27

@engcom-Alfa engcom-Alfa moved this from Testing in Progress to Extended Testing (optional) in Pull Requests Dashboard Jun 18, 2020
@engcom-Kilo engcom-Kilo added the QA: Ready to add to Regression Scope Should be analyzed and added to Regression Testing Scope(if applicable) label Jul 22, 2020
@engcom-Kilo
Copy link
Contributor

@magento run all tests

@engcom-Alfa engcom-Alfa added QA: Added to Regression Scope Scenario was analysed and added to Regression Testing Scope and removed QA: Ready to add to Regression Scope Should be analyzed and added to Regression Testing Scope(if applicable) labels Jul 24, 2020
@engcom-Kilo engcom-Kilo moved this from Extended Testing (optional) to Merge in Progress in Pull Requests Dashboard Jul 24, 2020
@magento-engcom-team magento-engcom-team merged commit de122d9 into magento:2.4-develop Aug 1, 2020
@m2-assistant
Copy link

m2-assistant bot commented Aug 1, 2020

Hi @rani-webkul, 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: Covered All changes in Pull Request is covered by auto-tests Award: bug fix Component: Downloadable partners-contribution Pull Request is created by Magento Partner Priority: P3 May be fixed according to the position in the backlog. Progress: accept QA: Added to Regression Scope Scenario was analysed and added to Regression Testing Scope Release Line: 2.4 Severity: S2 Major restrictions or short-term circumventions are required until a fix is available.
Projects
Pull Requests Dashboard
  
Recently Merged
Development

Successfully merging this pull request may close these issues.

Disable Guest Checkout if Cart Contains Downloadable Items doesn't work correctly
10 participants