-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[MFTF] Refactoring of AdminMassUpdateProductAttributesMissingRequiredFieldTest #31079
[MFTF] Refactoring of AdminMassUpdateProductAttributesMissingRequiredFieldTest #31079
Conversation
Hi @AnnaAPak. 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 Functional Tests CE, Functional Tests EE, Functional Tests B2B |
@magento run Functional Tests CE, Functional Tests EE, Functional Tests B2B |
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.
Hi @AnnaAPak, thank you for the improvement, could you please check the below minor suggestions?
Thanks.
<description>Clicks on 'Save' button on products mass attributes update page.</description> | ||
</annotations> | ||
|
||
<click selector="{{AdminEditProductAttributesSection.Save}}" stepKey="save"/> |
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.
If you save something, is much better to make sure the page is loaded afterwards waitForPageLoad
, including a success/error message if that's the case.
Also please remove the empty rows in your changed files.
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.
@eduard13 thank you for the advice - this has been addressed.
<click selector="{{AdminEditProductAttributesSection.Save}}" stepKey="save"/> | ||
|
||
</actionGroup> | ||
</actionGroups> |
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.
Preserve an empty row at the end of the file.
</actionGroups> | |
</actionGroups> | |
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.
Empty row has been added, thanks.
<checkOption selector="{{AdminProductGridSection.productRowCheckboxBySku(product.sku)}}" stepKey="selectProduct"/> | ||
|
||
</actionGroup> | ||
</actionGroups> |
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.
</actionGroups> | |
</actionGroups> | |
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.
Empty row has been added, thanks.
<click selector="{{AdminEditProductAttributesSection.ChangeAttributeNameToggle}}" stepKey="toggleToChangeName"/> | ||
|
||
</actionGroup> | ||
</actionGroups> |
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.
</actionGroups> | |
</actionGroups> | |
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.
Empty row has been added, thanks.
@magento run Functional Tests CE, Functional Tests EE, Functional Tests B2B |
@magento run Functional Tests CE, Functional Tests B2B |
@magento run all tests |
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.
Looks 👍
The failed test doesn't seem to be related to these changes.
@magento create issue |
Note: QA not applicable |
Note: Functional Tests B2B are failed |
…ssingRequiredFieldTest #31079
Hi @AnnaAPak, thank you for your contribution! |
Description (*)
The test is refactored according to the best practices followed by MFTF.
Manual testing scenarios (*)
Resolved issues: