Skip to content

Commit 50b83be

Browse files
Feedback changes
1 parent 1973efb commit 50b83be

4 files changed

+6
-6
lines changed

app/code/Magento/Search/Test/Mftf/ActionGroup/AssertStorefrontVerifySearchButtonIsDisabledActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<!-- Filter by search query and select -->
1212
<actionGroup name="AssertStorefrontVerifySearchButtonIsDisabledActionGroup">
1313
<annotations>
14-
<description>Fills in the provided Search Query on the Admin Search Term grid page.</description>
14+
<description>Verify search button has disabled attribute</description>
1515
</annotations>
1616

1717
<grabAttributeFrom selector="{{StorefrontQuickSearchSection.searchButton}}" userInput="disabled" stepKey="grabSearchButtonDisabledAttribute"/>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<!-- Filter by search query and select -->
12-
<actionGroup name="AssertStorefrontVerifySearchButtonIsNotDisabledActionGroup">
12+
<actionGroup name="AssertStorefrontVerifySearchButtonIsEnabledActionGroup">
1313
<annotations>
14-
<description>Fills in the provided Search Query on the Admin Search Term grid page.</description>
14+
<description>Verify search button does not disabled attribute</description>
1515
</annotations>
1616

1717
<grabAttributeFrom selector="{{StorefrontQuickSearchSection.searchButton}}" userInput="disabled" stepKey="grabSearchButtonAttribute"/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11-
<test name="StorefrontVerifySearchButtonDisabledTillMinimumSearchLengthHit">
11+
<test name="StorefrontVerifySearchButtonDisabledTillMinimumSearchLengthHitTest">
1212
<annotations>
1313
<stories value="Search Term Disabled"/>
1414
<title value="Verify search button is disabled if search term is less than minimum search length"/>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11-
<test name="StorefrontVerifySearchButtonNotDisabledAfterMinimumSearchLengthHit">
11+
<test name="StorefrontVerifySearchButtonEnabledAfterMinimumSearchLengthHitTest">
1212
<annotations>
1313
<stories value="Search Button Not Disabled"/>
1414
<title value="Verify search button is not disabled if search term is equal or greater than minimum search length"/>
@@ -24,6 +24,6 @@
2424
<argument name="query" value="Magento"/>
2525
</actionGroup>
2626

27-
<actionGroup ref="AssertStorefrontVerifySearchButtonIsNotDisabledActionGroup" stepKey="assertSearchButtonIsNotDisabled"/>
27+
<actionGroup ref="AssertStorefrontVerifySearchButtonIsEnabledActionGroup" stepKey="assertSearchButtonIsNotDisabled"/>
2828
</test>
2929
</tests>

0 commit comments

Comments
 (0)