-
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 / Remove redundant ActionGroups #21647
MFTF / Remove redundant ActionGroups #21647
Conversation
Hi @lbajsarowicz. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
#magettestfest19 To avoid creating multiple PRs for single set of changes, I've added extra fix for Catalog AdminChangeProductAttributeSet test |
--> | ||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="AssertStorefrontPasswordAutoCompleteOffActionGroup"> |
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, take a look at app/code/Magento/Customer/Test/Mftf/Test/PasswordAutocompleteOffTest.xml:53
. This action group is used within the scope of the mentioned test. Why it's considered as redundant?
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.
After reading the PR description you should have noticed that I'm removing duplicated files with different names. The one I'm removing contains StoreFront
(uppercase F), the one used in PasswordAutocompleteOffTest
is Storefront
(lowercase f)
<actionGroup ref="AssertStorefrontPasswordAutoCompleteOffActionGroup" stepKey="assertStorefrontPasswordAutoCompleteOff"/>
|
||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="StorefrontClickSignInButtonActionGroup"> |
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, take a look at app/code/Magento/Customer/Test/Mftf/Test/PasswordAutocompleteOffTest.xml:50
. This action group is used within the scope of the mentioned test. Why it's considered as redundant?
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.
The same situaiton. I'm removing StoreFront
, you are mentioning use of Storefront
🤦♂️
For QA.
|
Hi @rogyar, thank you for the review. |
I see that one more case-based issue was merged recently:
So @rogyar I will add one more fix 🤦♂️ to introduced issue |
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.
Update: Figured what you mean about StoreFront
vs Storefront
filename. removed my comments cause I was wrong. Thanks for it.
But we shouldn't delete createUrlRewrite
operation cause we use it in test runtime.
Hi @lbajsarowicz, thank you for your contribution! |
Description (*)
I've removed files that differ from each other by capitalisation:
Fixed Issues (if relevant)
Manual testing scenarios (*)
StoreFront
are not used anywhere:Contribution checklist (*)