Skip to content

Commit 262abfe

Browse files
authored
Merge pull request #7314 from magento-gl/2.4-develop-mftf-delivery
[MQE] 2.4.4-beta MFTF fixes
2 parents b7db2b2 + 3bd4cb3 commit 262abfe

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminCreateCatalogPriceRuleTest/AdminCreateCatalogPriceRuleByPercentTest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</before>
3737
<after>
3838
<!-- delete the simple product and catalog price rule and logout -->
39-
<amOnPage stepKey="goToPriceRulePage" url="admin/catalog_rule/promo_catalog/"/>
39+
<amOnPage stepKey="goToPriceRulePage" url="{{CatalogRulePage.url}}"/>
4040
<actionGroup stepKey="deletePriceRule" ref="deleteEntitySecondaryGrid">
4141
<argument name="name" value="{{_defaultCatalogRule.name}}"/>
4242
<argument name="searchInput" value="{{AdminSecondaryGridSection.catalogRuleIdentifierSearch}}"/>

app/code/Magento/CatalogUrlRewrite/Test/Mftf/Data/AdminCategoryRestrictedUrlMessageData.xml

+1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
<data key="urlRest">URL key "rest" matches a reserved endpoint name (admin, soap, rest, graphql, standard). Use another URL key.</data>
1515
<data key="urlGraphql">URL key "graphql" matches a reserved endpoint name (admin, soap, rest, graphql, standard). Use another URL key.</data>
1616
<data key="urlAdminError">URL key "admin" matches a reserved endpoint name (admin). Use another URL key.</data>
17+
<data key="urlAdminPartialError">URL key "admin" matches a reserved endpoint name </data>
1718
</entity>
1819
</entities>

app/code/Magento/CatalogUrlRewrite/Test/Mftf/Test/AdminCategoryWithRestrictedUrlKeyNotCreatedTest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
<argument name="categoryName" value="admin"/>
4747
<argument name="categoryUrlKey" value=""/>
4848
</actionGroup>
49-
<see selector="{{AdminMessagesSection.error}}" userInput='{{AdminCategoryRestrictedUrlErrorMessage.urlAdminError}}' stepKey="seeAdminFirstErrorMessage"/>
49+
<see selector="{{AdminMessagesSection.error}}" userInput='{{AdminCategoryRestrictedUrlErrorMessage.urlAdminPartialError}}' stepKey="seeAdminFirstErrorMessage"/>
5050
<actionGroup ref="FillCategoryNameAndUrlKeyAndSaveActionGroup" stepKey="fillAdminSecondCategoryForm">
5151
<argument name="categoryName" value="{{SimpleSubCategory.name}}"/>
5252
<argument name="categoryUrlKey" value="admin"/>
5353
</actionGroup>
54-
<see selector="{{AdminMessagesSection.error}}" userInput='{{AdminCategoryRestrictedUrlErrorMessage.urlAdminError}}' stepKey="seeAdminSecondErrorMessage"/>
54+
<see selector="{{AdminMessagesSection.error}}" userInput='{{AdminCategoryRestrictedUrlErrorMessage.urlAdminPartialError}}' stepKey="seeAdminSecondErrorMessage"/>
5555
<!--Create category with 'admin' name-->
5656
<comment userInput="Create category with 'admin' name" stepKey="commentAdminCategoryCreation"/>
5757
<actionGroup ref="FillCategoryNameAndUrlKeyAndSaveActionGroup" stepKey="fillAdminThirdCategoryForm">

dev/tests/acceptance/tests/_data/not-a.png

Loading

0 commit comments

Comments
 (0)