Skip to content

Commit 950d504

Browse files
committed
MQE-2220: fixed deprecated action group usage and annotation errors in MFTF tests
1 parent 22ea531 commit 950d504

5 files changed

+10
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminChangeProductAttributeGroupTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1010
<test name="AdminChangeProductAttributeGroupTest">
1111
<annotations>
12+
<stories value="Preserving attribute value after attribute group is changed"/>
1213
<title value="Preserving attribute value after attribute group is changed"/>
1314
<description value="Attribute value should be preserved after changing attribute group"/>
1415
<severity value="CRITICAL"/>

app/code/Magento/Newsletter/Test/Mftf/Test/AdminMarketingDeleteNewsletterSubscriberTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<stories value="Subscribers Deleting"/>
1515
<title value="Admin deletes newsletter subscribers"/>
1616
<description value="Admin should be able delete newsletter subscribers"/>
17+
<severity value="CRITICAL"/>
1718
<group value="newsletter"/>
1819
</annotations>
1920
<before>

app/code/Magento/Newsletter/Test/Mftf/Test/StorefrontNewsletterGuestSubscriptionWithDisallowedOptionTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<stories value="Disabled Guest Newsletter Subscription"/>
1515
<title value="Newsletter Subscription for guest is disabled and cannot be performed"/>
1616
<description value="Guest cannot subscribe to Newsletter if it is disallowed in configurations"/>
17+
<severity value="AVERAGE"/>
1718
<group value="newsletter"/>
1819
<group value="configuration"/>
1920
<testCaseId value="MC-35728"/>

app/code/Magento/Newsletter/Test/Mftf/Test/VerifyRegistredLinkDisplayedForGuestSubscriptionNoTest.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
<magentoCLI command="config:set newsletter/subscription/allow_guest_subscribe 0"
2424
stepKey="setConfigGuestSubscriptionDisable"/>
2525
</before>
26-
<actionGroup ref="StorefrontCreateNewSubscriberActionGroup" stepKey="createSubscriber"/>
26+
<amOnPage url="{{StorefrontHomePage.url}}" stepKey="amOnStorefrontPage"/>
27+
<submitForm selector="{{BasicFrontendNewsletterFormSection.subscribeForm}}"
28+
parameterArray="['email' => '{{_defaultNewsletter.senderEmail}}']"
29+
button="{{BasicFrontendNewsletterFormSection.subscribeButton}}" stepKey="submitForm"/>
30+
<waitForPageLoad stepKey="waitForPageLoad"/>
31+
<waitForElementVisible stepKey="waitForErrorAppears" selector="{{StorefrontMessagesSection.error}}"/>
2732
</test>
2833
</tests>

app/code/Magento/Wishlist/Test/Mftf/Test/StorefrontShareWishlistWithMoreThanMaximumAllowedTextLengthLimitTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<title value="Sharing wishlist with more than Maximum Allowed Text Length Limit"/>
1616
<description value="Customer should not have a possibility share wishlist with more than maximum allowed Email Text Length Limit"/>
1717
<testCaseId value="MC-35647"/>
18+
<severity value="AVERAGE"/>
1819
<group value="wishlist"/>
1920
<group value="configuration"/>
2021
</annotations>

0 commit comments

Comments
 (0)