Skip to content

Commit

Permalink
renamed Action Groups
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaAPak committed Dec 10, 2020
1 parent 1dd1046 commit 706e63d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminAssertManageStockOnEditPageActionGroup">
<actionGroup name="AssertAdminManageStockOnEditPageActionGroup">
<annotations>
<description>Check if manageStock value is correct
(the Product Edit page->Advanced Inventory section should be opened in Admin prior this check).</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminAssertProductInfoOnEditPageActionGroup">
<actionGroup name="AssertAdminProductInfoOnEditPageActionGroup">
<annotations>
<description>Validates next fields on the Product Edit Page:
name, sku, price, quantity, stock status, tax class, weight, weigh select, visibility, url key</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminAssertProductIsAssignedToCategoryActionGroup">
<actionGroup name="AssertAdminProductIsAssignedToCategoryActionGroup">
<annotations>
<description>Checks if product is assigned to category (the Product Edit page should be opened in Admin prior this check).</description>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="StorefrontAssertProductStockStatusOnProductPageActionGroup">
<actionGroup name="AssertStorefrontProductStockStatusOnProductPageActionGroup">
<annotations>
<description>Validates that the provided Product Stock Status is present and correct
(the Product Detail page should be opened on Storefront prior this check)</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,20 @@
</actionGroup>

<actionGroup ref="AdminClickOnAdvancedInventoryLinkActionGroup" stepKey="clickTheAdvancedInventoryLink1"/>
<actionGroup ref="AdminAssertManageStockOnEditPageActionGroup" stepKey="assertManageStock1">
<actionGroup ref="AssertAdminManageStockOnEditPageActionGroup" stepKey="assertManageStock1">
<argument name="manageStock" value="No"/>
</actionGroup>
<actionGroup ref="AdminSubmitAdvancedInventoryFormActionGroup" stepKey="clickDoneButtonOnAdvancedInventorySection1"/>

<actionGroup ref="AdminAssertProductIsAssignedToCategoryActionGroup" stepKey="checkifProductIsAssignedToInitialCategory">
<actionGroup ref="AssertAdminProductIsAssignedToCategoryActionGroup" stepKey="checkifProductIsAssignedToInitialCategory">
<argument name="categoryName" value="$$initialCategoryEntity.name$$"/>
</actionGroup>

<actionGroup ref="AdminAssertProductIsAssignedToCategoryActionGroup" stepKey="checkifProductIsAssignedToCategoryTwo">
<actionGroup ref="AssertAdminProductIsAssignedToCategoryActionGroup" stepKey="checkifProductIsAssignedToCategoryTwo">
<argument name="categoryName" value="$$categoryEntity.name$$"/>
</actionGroup>

<actionGroup ref="AdminAssertProductInfoOnEditPageActionGroup" stepKey="assertProductInfo">
<actionGroup ref="AssertAdminProductInfoOnEditPageActionGroup" stepKey="assertProductInfo">
<argument name="product" value="simpleProductEnabledFlat"/>
</actionGroup>

Expand All @@ -105,7 +105,7 @@
<actionGroup ref="StorefrontAssertProductSkuOnProductPageActionGroup" stepKey="seeSimpleProductSKUOnStoreFrontPage">
<argument name="productSku" value="{{simpleProductEnabledFlat.sku}}"/>
</actionGroup>
<actionGroup ref="StorefrontAssertProductStockStatusOnProductPageActionGroup" stepKey="seeSimpleProductStockStatusOnStoreFrontPage">
<actionGroup ref="AssertStorefrontProductStockStatusOnProductPageActionGroup" stepKey="seeSimpleProductStockStatusOnStoreFrontPage">
<argument name="productStockStatus" value="{{simpleProductEnabledFlat.storefrontStatus}}"/>
</actionGroup>

Expand Down

0 comments on commit 706e63d

Please sign in to comment.