-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[MFTF] Use action group go to ProductCatalogPage #28941
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] Use action group go to ProductCatalogPage #28941
Conversation
Hi @Usik2203. 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. |
@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.
Good catch, however lets follow the camelCase naming convention here and use a lower case for the 1st letter. Please implement the same changes to all the places in this PR.
Thank you.
@@ -130,8 +130,7 @@ | |||
<dontSeeElement stepKey="LookingForNameOfProductDisabled" selector="{{StorefrontBundledSection.bundleProductName}}"/> | |||
|
|||
<!--Enabling bundle products--> | |||
<amOnPage url="{{ProductCatalogPage.url}}" stepKey="GoToCatalogPageChangingView"/> | |||
<waitForPageLoad stepKey="WaitForPageToLoadFullyChangingView"/> | |||
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="GoToCatalogPageChangingView"/> |
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.
Lets following the camelcase format, the 1st letter should be a lowercase.
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="GoToCatalogPageChangingView"/> | |
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="goToCatalogPageChangingView"/> |
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.
Done
<description>Goes to the Admin Product Catalog Page grid page.</description> | ||
</annotations> | ||
|
||
<amOnPage url="{{ProductCatalogPage.url}}" stepKey="OpenProductCatalogPage"/> |
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.
<amOnPage url="{{ProductCatalogPage.url}}" stepKey="OpenProductCatalogPage"/> | |
<amOnPage url="{{ProductCatalogPage.url}}" stepKey="openProductCatalogPage"/> |
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.
Done
@magento run Functional Tests CE , Functional Tests EE , Functional Tests B2B |
@magento run 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.
Awesome 👍
@magento run all tests |
@magento run Adobe CLA Signed |
Hi @Usik2203, thank you for your contribution! |
The failing tests don't seem to be related to the PR changes. |
Hi @eduard13, thank you for the review. |
QA not applicable |
Hi @Usik2203, thank you for your contribution! |
This PR uses
AdminProductCatalogPageOpenActionGroup
go to ProductCatalogPage instead<amOnPage url="{{ProductCatalogPage.url}}" stepKey="GoToCatalogPageChangingView"/>
<waitForPageLoad stepKey="WaitForPageToLoadFullyChangingView"/>