-
Notifications
You must be signed in to change notification settings - Fork 9.4k
MC-40013: Payment Methods radio-buttons disappear after a "Create New Order" page in Admin panel is reload #32107
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
MC-40013: Payment Methods radio-buttons disappear after a "Create New Order" page in Admin panel is reload #32107
Conversation
… Order" page in Admin panel is reload
Hi @victorpetryk. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
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. 🕙 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 run all tests |
@magento run all tests |
@magento run all tests |
<?= $escaper->escapeHtml($_method->getTitle()) ?> | ||
</label> | ||
|
||
<?php if ($_methodsCount > 1): ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should cover these changes with MFTF test
… Order" page in Admin panel is reload
@magento run all tests |
@@ -29,5 +29,6 @@ | |||
<element name="purchaseOrderOption" type="radio" selector="#p_method_purchaseorder" timeout="30"/> | |||
<element name="purchaseOrderNumber" type="input" selector="#po_number"/> | |||
<element name="freePaymentLabel" type="text" selector="#order-billing_method_form label[for='p_method_free']"/> | |||
<element name="paymentLabelWithRadioButton" type="text" selector="#order-billing_method_form .admin__control-radio+label"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use parametrized selector to check payment radio by name
</annotations> | ||
<conditionalClick selector="{{AdminOrderFormPaymentSection.linkPaymentOptions}}" dependentSelector="{{AdminOrderFormPaymentSection.linkPaymentOptions}}" visible="true" stepKey="clickGetAvailablePaymentMethods"/> | ||
<waitForElementVisible selector="{{AdminOrderFormPaymentSection.paymentBlock}}" stepKey="waitForPaymentOptions"/> | ||
<seeElement selector="{{AdminOrderFormPaymentSection.paymentLabelWithRadioButton}}" stepKey="seeLabelWithRadioButton"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we check particular payment radio by payment method name?
</actionGroup> | ||
|
||
<!-- Assert label with radio button presents on the page --> | ||
<actionGroup ref="AssertAdminPaymentMethodRadioButtonExistsOnCreateOrderPageActionGroup" stepKey="assertPaymentRadioButtonIsPresent"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we check both payment methods exists?
… Order" page in Admin panel is reload
@magento run all tests |
@magento run Functional Tests B2B |
@magento run all tests |
@zakdma, an error occurred during the Pull Request import. |
1 similar comment
@zakdma, an error occurred during the Pull Request import. |
@zakdma, an error occurred during the Pull Request import. |
1 similar comment
@zakdma, an error occurred during the Pull Request import. |
@zakdma, an error occurred during the Pull Request import. |
1 similar comment
@zakdma, an error occurred during the Pull Request import. |
@zakdma the branch with code successfully imported into |
Hi @victorpetryk, thank you for your contribution! |
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
see #32106
Questions or comments
Contribution checklist (*)