-
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
#1794: [MFTF] Unskip AdminMediaGalleryCatalogUiVerifyUsedInLinkCategoryGridTest #29895
Conversation
…CatalogUiVerifyUsedInLinkCategoryGridTest - unskip test
Hi @joweecaquicla. 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 EE, Functional Tests CE, Functional Tests B2B |
…CatalogUiVerifyUsedInLinkCategoryGridTest - modified assert image column
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
…94-unskip-admin-media-gallery-catalog-ui-verify-used-in-link-category-grid-test
…CatalogUiVerifyUsedInLinkCategoryGridTest - fixed spacing on data
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
…CatalogUiVerifyUsedInLinkCategoryGridTest - modified actiongroup, test and added new category data entity
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
…94-unskip-admin-media-gallery-catalog-ui-verify-used-in-link-category-grid-test
…CatalogUiVerifyUsedInLinkCategoryGridTest - modified custom category entity, actiongroup, and test
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> | ||
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache"> |
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.
Please, avoid flushing the cache whenever it's possible. This action is slow itself and slows down the consecutive tests significantly. I would strongly recommend clearing the proper cache tags instead
magento2/app/code/Magento/Backend/Test/Mftf/ActionGroup/CliCacheCleanActionGroup.xml
Line 11 in e9190a5
<actionGroup name="CliCacheCleanActionGroup"> |
…CatalogUiVerifyUsedInLinkCategoryGridTest - change to cache clean
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
…94-unskip-admin-media-gallery-catalog-ui-verify-used-in-link-category-grid-test
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
…94-unskip-admin-media-gallery-catalog-ui-verify-used-in-link-category-grid-test
…CatalogUiVerifyUsedInLinkCategoryGridTest - modified test
@magento run Functional Tests EE, Functional Tests CE, 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.
Thanks for the fix @joweecaquicla ! I have a question about the implementation, please see my comment
|
||
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd"> | ||
<entity name="TestSubCategory" type="category"> |
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.
What is the reason for introducing this entity instead of SimpleSubCategory
?
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.
@sivaschenko There were instances when the test would fail because the category name did not match, to be more specific, it was the hashed suffix on the category name that did not match so I introduced the new entity.
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.
@joweecaquicla what was the reason of not matching hashed suffix?
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.
@sivaschenko I was not able to investigate that issue thoroughly as I was not able to replicate it in my local environment.
…94-unskip-admin-media-gallery-catalog-ui-verify-used-in-link-category-grid-test
…CatalogUiVerifyUsedInLinkCategoryGridTest - removed custom category entity and modified test
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
…dInLinkCategoryGridTest #29895
Hi @joweecaquicla, thank you for your contribution! |
Description (*)
Unskipped
AdminMediaGalleryCatalogUiVerifyUsedInLinkCategoryGridTest
and will run MFTF builds to check and confirm that the test is stable.Related Pull Requests
N/A
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)