Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@
<argument name="product" value="BundleProduct"/>
</actionGroup>
<waitForPageLoad stepKey="waitForProductFilterLoad"/>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage"/>

<!-- Change the product option title -->
<fillField selector="{{AdminProductFormBundleSection.bundleOptionXTitle('0')}}" userInput="BundleOption2" stepKey="fillOptionTitle2"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminProductGridSectionClickFirstRowActionGroup">
<annotations>
<description>Click first row on the product grid page.</description>
</annotations>

<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
<argument name="product" value="SimpleTwo"/>
</actionGroup>
<waitForPageLoad stepKey="waitForFiltersToBeApplied"/>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage"/>

<!-- Fill out the form for the new category -->
<actionGroup ref="FillNewProductCategoryActionGroup" stepKey="FillNewProductCategory">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
<seeElement selector="{{AdminProductGridSection.columnHeader('Set Product as New from Date')}}" stepKey="seeNewFromDateColumn"/>
<waitForPageLoad stepKey="waitforFiltersToApply"/>
<actionGroup ref="FilterProductGridBySetNewFromDateActionGroup" stepKey="filterProductGridToCheckSetAsNewColumn"/>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnFirstRowProductGrid"/>
<waitForPageLoad stepKey="waitForProductEditPageToLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnFirstRowProductGrid"/>
<actionGroup ref="AdminFormSaveAndCloseActionGroup" stepKey="saveAndCloseProductForm"/>
<click selector="{{AdminProductGridFilterSection.filters}}" stepKey="expandFilters"/>
<seeInField selector="{{AdminProductGridFilterSection.newFromDateFilter}}" userInput="05/16/2018" stepKey="checkForNewFromDate"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
<actionGroup ref="FilterProductGridByName2ActionGroup" stepKey="filterByName">
<argument name="name" value="$$createConfigProduct.name$$"/>
</actionGroup>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductName"/>
<waitForPageLoad stepKey="waitForProductEditPageToLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductName"/>
<!--Create configurations for the product-->
<comment userInput="Create configurations for the product" stepKey="createConfigurations"/>
<conditionalClick selector="{{AdminProductFormConfigurationsSection.sectionHeader}}" dependentSelector="{{AdminProductFormConfigurationsSection.createConfigurations}}" visible="false" stepKey="expandConfigurationsTab1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@
<argument name="product" value="ApiConfigurableProduct"/>
</actionGroup>
<waitForPageLoad stepKey="waitForProductFilterLoad"/>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage"/>

<!-- Create configurations based off the Text Swatch we created earlier -->
<click selector="{{AdminProductFormConfigurationsSection.createConfigurations}}" stepKey="clickCreateConfigurations"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@
<argument name="product" value="ApiSimpleOne"/>
</actionGroup>
<waitForPageLoad stepKey="waitForFiltersToBeApplied"/>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage"/>

<!-- Edit the quantity of the simple first product as 0 -->
<fillField selector="{{AdminProductFormSection.productQuantity}}" userInput="0" stepKey="fillProductQuantity"/>
Expand All @@ -120,8 +119,7 @@
<argument name="product" value="ApiSimpleTwo"/>
</actionGroup>
<waitForPageLoad stepKey="waitForFiltersToBeApplied2"/>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage2"/>
<waitForPageLoad stepKey="waitForProductPageLoad2"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage2"/>

<!-- Edit the quantity of the second simple product as 0 -->
<fillField selector="{{AdminProductFormSection.productQuantity}}" userInput="0" stepKey="fillProductQuantity2"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@
<argument name="product" value="ApiSimpleTwo"/>
</actionGroup>
<waitForPageLoad stepKey="waitForFiltersToBeApplied2"/>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage2"/>
<waitForPageLoad stepKey="waitForProductPageLoad2"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage2"/>

<!-- Edit the quantity of the second simple product as 0 -->
<fillField selector="{{AdminProductFormSection.productQuantity}}" userInput="0" stepKey="fillProductQuantity2"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@
<argument name="product" value="ApiConfigurableProduct"/>
</actionGroup>
<waitForPageLoad stepKey="waitForProductFilterLoad"/>

<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage"/>

<!-- change the option on the first attribute -->
<selectOption stepKey="clickFirstAttribute" selector="{{ModifyAttributes.nthExistingAttribute($$createModifiableProductAttribute.default_frontend_label$$)}}" userInput="option1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@
</actionGroup>

<!-- Assert configurable product on admin product page -->
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage"/>
<actionGroup ref="AssertConfigurableProductOnAdminProductPageActionGroup" stepKey="assertConfigurableProductOnAdminProductPage">
<argument name="product" value="ApiConfigurableProduct"/>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@
</actionGroup>

<!-- Assert configurable product on admin product page -->
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage"/>
<actionGroup ref="AssertConfigurableProductOnAdminProductPageActionGroup" stepKey="assertConfigurableProductOnAdminProductPage">
<argument name="product" value="ApiConfigurableProduct"/>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="findCreatedConfigurableProduct">
<argument name="product" value="DownloadableProduct"/>
</actionGroup>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProduct"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProduct"/>

<!-- Assert downloadable links in product form -->
<scrollTo selector="{{AdminProductDownloadableSection.sectionLinkGrid}}" stepKey="scrollToLinks"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="findCreatedConfigurableProduct">
<argument name="product" value="ApiDownloadableProduct"/>
</actionGroup>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProduct"/>
<waitForPageLoad stepKey="waitForProductFormPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProduct"/>

<!-- Assert downloadable links in product form -->
<scrollTo selector="{{AdminProductDownloadableSection.sectionLinkGrid}}" stepKey="scrollToLinks"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="findCreatedConfigurableProduct">
<argument name="product" value="DownloadableProduct"/>
</actionGroup>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProduct"/>
<waitForPageLoad stepKey="waitForProductFormPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProduct"/>

<!-- Assert downloadable links in product form -->
<scrollTo selector="{{AdminProductDownloadableSection.sectionLinkGrid}}" stepKey="scrollToLinks"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="findCreatedConfigurableProduct">
<argument name="product" value="DownloadableProductOutOfStock"/>
</actionGroup>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProduct"/>
<waitForPageLoad stepKey="waitForProductFormPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProduct"/>

<!-- Assert downloadable links in product form -->
<scrollTo selector="{{AdminProductDownloadableSection.sectionLinkGrid}}" stepKey="scrollToLinks"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="findCreatedConfigurableProduct">
<argument name="product" value="ApiDownloadableProduct"/>
</actionGroup>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProduct"/>
<waitForPageLoad stepKey="waitForProductFormPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProduct"/>

<!-- Assert downloadable links in product form -->
<scrollTo selector="{{AdminProductDownloadableSection.sectionLinkGrid}}" stepKey="scrollToLinks"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="findCreatedConfigurableProduct">
<argument name="product" value="DownloadableProduct"/>
</actionGroup>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProduct"/>
<waitForPageLoad stepKey="waitForProductFormPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProduct"/>

<!-- Assert downloadable links in product form -->
<scrollTo selector="{{AdminProductDownloadableSection.sectionLinkGrid}}" stepKey="scrollToLinks"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="findCreatedConfigurableProduct">
<argument name="product" value="DownloadableProduct"/>
</actionGroup>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProduct"/>
<waitForPageLoad stepKey="waitForProductFormPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProduct"/>

<!-- Assert downloadable links in product form -->
<scrollTo selector="{{AdminProductDownloadableSection.sectionLinkGrid}}" stepKey="scrollToLinks"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@
<argument name="product" value="$$createConfigChildProduct1$$"/>
</actionGroup>
<waitForPageLoad stepKey="waitForFiltersToBeApplied"/>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage"/>
<!-- Disabled child configurable product -->
<click selector="{{AdminProductFormSection.enableProductAttributeLabel}}" stepKey="clickDisableProduct"/>
<actionGroup ref="SaveProductFormActionGroup" stepKey="clickSaveProduct"/>
Expand Down Expand Up @@ -141,8 +140,7 @@
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="findCreatedProduct2">
<argument name="product" value="$$createSimpleProduct2$$"/>
</actionGroup>
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage2"/>
<waitForPageLoad stepKey="waitForProductPageLoad2"/>
<actionGroup ref="AdminProductGridSectionClickFirstRowActionGroup" stepKey="clickOnProductPage2"/>
<!-- Disabled simple product from grid -->
<actionGroup ref="ChangeStatusProductUsingProductGridActionGroup" stepKey="disabledProductFromGrid2">
<argument name="product" value="$$createSimpleProduct2$$"/>
Expand Down