Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit dad696f

Browse files
committed
MAGETWO-80489: Implement Step 1 of B2C Admin scenario "Admin creates product"
- Address code review comments
1 parent 2287bf7 commit dad696f

15 files changed

+37
-26
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Bundle/ActionGroup/AdminBundleProductActionGroup.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
11+
<!--Fill main fields in create product form-->
1112
<actionGroup name="fillMainBundleProductForm">
1213
<arguments>
1314
<argument name="product" defaultValue="BundleProduct"/>
@@ -17,6 +18,7 @@
1718
<selectOption selector="{{AdminProductFormSection.productStockStatus}}" userInput="{{product.status}}" stepKey="selectStockStatus"/>
1819
</actionGroup>
1920

21+
<!--Check that required fields are actually required-->
2022
<actionGroup name="checkRequiredFieldsInBundleProductForm">
2123
<clearField selector="{{AdminProductFormSection.productName}}" stepKey="clearProductSku"/>
2224
<clearField selector="{{AdminProductFormSection.productSku}}" stepKey="clearProductName"/>
@@ -26,6 +28,7 @@
2628
<see selector="{{AdminProductFormSection.fieldError('sku')}}" userInput="This is a required field." stepKey="seeSkuRequired"/>
2729
</actionGroup>
2830

31+
<!--Filter product grid and see expected product-->
2932
<actionGroup name="viewBundleProductInAdminGrid">
3033
<arguments>
3134
<argument name="product" defaultValue="BundleProduct"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Bundle/Page/AdminProductEditPage.xml renamed to dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Bundle/Page/AdminProductCreatePage.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
11-
<page name="AdminProductEditPage" url="catalog/product/new/set/4/type/{{type}}/" area="admin" module="Magento_Catalog" parameterized="true">
11+
<page name="AdminProductCreatePage" url="catalog/product/new/set/{{set}}/type/{{type}}/" area="admin" module="Magento_Catalog" parameterized="true">
1212
<section name="AdminProductFormBundleSection"/>
1313
</page>
1414
</pages>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/ActionGroup/AdminProductActionGroup.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
10-
10+
<!--Navigate to create product page from product grid page-->
1111
<actionGroup name="goToCreateProductPage">
1212
<arguments>
1313
<argument name="product" defaultValue="_defaultProduct"/>
@@ -16,10 +16,11 @@
1616
<waitForElementVisible selector="{{AdminProductGridActionSection.addTypeProduct(product.type_id)}}" stepKey="waitForAddProductDropdown" time="30"/>
1717
<click selector="{{AdminProductGridActionSection.addTypeProduct(product.type_id)}}" stepKey="clickAddProductType"/>
1818
<waitForPageLoad stepKey="waitForCreateProductPageLoad"/>
19-
<seeInCurrentUrl url="{{AdminProductEditPage.url(product.type_id)}}" stepKey="seeNewProductUrl"/>
19+
<seeInCurrentUrl url="{{AdminProductCreatePage.url(AddToDefaultSet.attributeSetId, product.type_id)}}" stepKey="seeNewProductUrl"/>
2020
<see selector="{{AdminHeaderSection.pageTitle}}" userInput="New Product" stepKey="seeNewProductTitle"/>
2121
</actionGroup>
2222

23+
<!--Fill main fields in create product form-->
2324
<actionGroup name="fillMainProductForm">
2425
<arguments>
2526
<argument name="product" defaultValue="_defaultProduct"/>
@@ -32,6 +33,7 @@
3233
<fillField selector="{{AdminProductFormSection.productWeight}}" userInput="{{product.weight}}" stepKey="fillProductWeight"/>
3334
</actionGroup>
3435

36+
<!--Check that required fields are actually required-->
3537
<actionGroup name="checkRequiredFieldsInProductForm">
3638
<clearField selector="{{AdminProductFormSection.productName}}" stepKey="clearProductSku"/>
3739
<clearField selector="{{AdminProductFormSection.productSku}}" stepKey="clearProductName"/>
@@ -43,11 +45,13 @@
4345
<see selector="{{AdminProductFormSection.priceFieldError}}" userInput="This is a required field." stepKey="seePriceRequired"/>
4446
</actionGroup>
4547

48+
<!--Save product and see success message-->
4649
<actionGroup name="saveProductForm">
4750
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveProduct"/>
4851
<see selector="{{AdminProductMessagesSection.successMessage}}" userInput="You saved the product." stepKey="seeSaveConfirmation"/>
4952
</actionGroup>
5053

54+
<!--Upload image for product-->
5155
<actionGroup name="addProductImage">
5256
<arguments>
5357
<argument name="image" defaultValue="ImageUpload"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/ActionGroup/AdminProductGridActionGroup.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
11-
11+
<!--Reset the product grid to the default view-->
1212
<actionGroup name="resetProductGridToDefaultView">
1313
<click selector="{{AdminProductGridFilterSection.viewDropdown}}" stepKey="openViewBookmarksTab"/>
1414
<click selector="{{AdminProductGridFilterSection.viewBookmark('Default View')}}" stepKey="resetToDefaultGridView"/>
1515
<waitForPageLoad stepKey="waitForProductGridLoad"/>
1616
<see selector="{{AdminProductGridFilterSection.viewDropdown}}" userInput="Default View" stepKey="seeDefaultViewSelected"/>
1717
</actionGroup>
1818

19+
<!--Filter the product grid by the SKU field-->
1920
<actionGroup name="filterProductGridBySku">
2021
<arguments>
2122
<argument name="product" defaultValue="_defaultProduct"/>
@@ -27,6 +28,7 @@
2728
<waitForElementNotVisible selector="{{AdminProductGridSection.loadingMask}}" stepKey="waitForFilteredGridLoad" time="30"/>
2829
</actionGroup>
2930

31+
<!--Filter the product grid by the Name field-->
3032
<actionGroup name="filterProductGridByName">
3133
<arguments>
3234
<argument name="product" defaultValue="_defaultProduct"/>
@@ -38,6 +40,7 @@
3840
<waitForElementNotVisible selector="{{AdminProductGridSection.loadingMask}}" stepKey="waitForFilteredGridLoad" time="30"/>
3941
</actionGroup>
4042

43+
<!--Filter the product grid by a price range-->
4144
<actionGroup name="filterProductGridByPriceRange">
4245
<arguments>
4346
<argument name="filter"/>
@@ -50,6 +53,7 @@
5053
<waitForElementNotVisible selector="{{AdminProductGridSection.loadingMask}}" stepKey="waitForFilteredGridLoad" time="30"/>
5154
</actionGroup>
5255

56+
<!--Filter the product grid to Enabled products-->
5357
<actionGroup name="filterProductGridByEnabledStatus">
5458
<conditionalClick selector="{{AdminProductGridFilterSection.clearFilters}}" dependentSelector="{{AdminProductGridFilterSection.clearFilters}}" visible="true" stepKey="clickClearFiltersInitial"/>
5559
<click selector="{{AdminProductGridFilterSection.filters}}" stepKey="openProductFilters"/>
@@ -58,6 +62,7 @@
5862
<waitForElementNotVisible selector="{{AdminProductGridSection.loadingMask}}" stepKey="waitForFilteredGridLoad" time="30"/>
5963
</actionGroup>
6064

65+
<!--Filter the product grid to Disabled products-->
6166
<actionGroup name="filterProductGridByDisabledStatus">
6267
<conditionalClick selector="{{AdminProductGridFilterSection.clearFilters}}" dependentSelector="{{AdminProductGridFilterSection.clearFilters}}" visible="true" stepKey="clickClearFiltersInitial"/>
6368
<click selector="{{AdminProductGridFilterSection.filters}}" stepKey="openProductFilters"/>
@@ -66,6 +71,7 @@
6671
<waitForElementNotVisible selector="{{AdminProductGridSection.loadingMask}}" stepKey="waitForFilteredGridLoad" time="30"/>
6772
</actionGroup>
6873

74+
<!--Filter product grid by name, sku, and type; and see expected product-->
6975
<actionGroup name="viewProductInAdminGrid">
7076
<arguments>
7177
<argument name="product" defaultValue="_defaultProduct"/>
@@ -83,6 +89,7 @@
8389
<click selector="{{AdminProductGridFilterSection.clearFilters}}" stepKey="clickClearFiltersAfter"/>
8490
</actionGroup>
8591

92+
<!--Delete a product by filtering grid and using delete action-->
8693
<actionGroup name="deleteProductUsingProductGrid">
8794
<arguments>
8895
<argument name="product"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Page/AdminProductEditPage.xml renamed to dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Page/AdminProductCreatePage.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
11-
<page name="AdminProductEditPage" url="catalog/product/new/set/4/type/{{type}}/" area="admin" module="Magento_Catalog" parameterized="true">
11+
<page name="AdminProductCreatePage" url="catalog/product/new/set/{{set}}/type/{{type}}/" area="admin" module="Magento_Catalog" parameterized="true">
1212
<section name="AdminProductFormSection"/>
1313
<section name="AdminProductFormActionSection"/>
1414
<section name="AdminProductSEOSection"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Test/AdminAddImageToWYSIWYGProductCest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
2323
<actionGroup ref="SwitchToVersion4ActionGroup" stepKey="switchToTinyMCE4" />
2424
</before>
25-
<amOnPage url="{{AdminProductEditPage.url('simple')}}" stepKey="navigateToNewProduct"/>
25+
<amOnPage url="{{AdminProductCreatePage.url(AddToDefaultSet.attributeSetId, 'simple')}}" stepKey="navigateToNewProduct"/>
2626
<waitForPageLoad stepKey="waitForPageLoad"/>
2727
<fillField userInput="{{_defaultProduct.name}}" selector="{{AdminProductFormSection.productName}}" stepKey="fillName"/>
2828
<fillField userInput="{{_defaultProduct.price}}" selector="{{AdminProductFormSection.productPrice}}" stepKey="fillPrice"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Test/AdminEditTextEditorProductAttributeCest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<dontSeeElement selector="{{StorefrontPropertiesSection.EnableWYSIWYG}}" stepKey="dontSeeWYSIWYGEnableField1" />
3838
<click selector="{{AttributePropertiesSection.Save}}" stepKey="saveAttribute1" />
3939
<waitForPageLoad stepKey="waitForPageLoad3" />
40-
<amOnPage url="{{AdminProductEditPage.url('simple')}}" stepKey="navigateToNewProduct"/>
40+
<amOnPage url="{{AdminProductCreatePage.url(AddToDefaultSet.attributeSetId, 'simple')}}" stepKey="navigateToNewProduct"/>
4141
<waitForPageLoad stepKey="waitForPageLoad4"/>
4242
<fillField userInput="{{_defaultProduct.name}}" selector="{{AdminProductFormSection.productName}}" stepKey="fillName"/>
4343
<fillField userInput="{{_defaultProduct.price}}" selector="{{AdminProductFormSection.productPrice}}" stepKey="fillPrice"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Test/VerifyDefaultWYSIWYGToolbarOnProductCest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
2424
<actionGroup ref="SwitchToVersion4ActionGroup" stepKey="switchToTinyMCE4" />
2525
</before>
26-
<amOnPage url="{{AdminProductEditPage('simple')}}" stepKey="navigateToProduct"/>
26+
<amOnPage url="{{AdminProductCreatePage(AddToDefaultSet.attributeSetId, 'simple')}}" stepKey="navigateToProduct"/>
2727
<waitForPageLoad stepKey="wait"/>
2828
<scrollTo selector="{{AdminProductFormSection.productQuantity}}" stepKey="scrollToQty" />
2929
<click selector="{{AdminProductFormSection.contentTab}}" stepKey="clickContentTab" />
@@ -62,7 +62,7 @@
6262
<actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
6363
<actionGroup ref="SwitchToVersion4ActionGroup" stepKey="switchToTinyMCE4" />
6464
</before>
65-
<amOnPage url="{{AdminProductEditPage('simple')}}" stepKey="navigateToProduct"/>
65+
<amOnPage url="{{AdminProductCreatePage(AddToDefaultSet.attributeSetId, 'simple')}}" stepKey="navigateToProduct"/>
6666
<waitForPageLoad stepKey="wait"/>
6767
<scrollTo selector="{{AdminProductFormSection.productQuantity}}" stepKey="scrollToQty" />
6868
<click selector="{{AdminProductFormSection.contentTab}}" stepKey="clickContentTab" />

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Test/VerifyTinyMCEv4IsNativeWYSIWYGOnProductCest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
2323
<actionGroup ref="SwitchToVersion4ActionGroup" stepKey="switchToTinyMCE4" />
2424
</before>
25-
<amOnPage url="{{AdminProductEditPage.url('simple')}}" stepKey="navigateToNewProduct"/>
25+
<amOnPage url="{{AdminProductCreatePage.url(AddToDefaultSet.attributeSetId, 'simple')}}" stepKey="navigateToNewProduct"/>
2626
<waitForPageLoad stepKey="wait1"/>
2727
<fillField userInput="{{_defaultProduct.name}}" selector="{{AdminProductFormSection.productName}}" stepKey="fillName"/>
2828
<fillField userInput="{{_defaultProduct.price}}" selector="{{AdminProductFormSection.productPrice}}" stepKey="fillPrice"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/ConfigurableProduct/ActionGroup/AdminConfigurableProductActionGroup.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
11-
11+
<!--Filter the product grid and view expected products-->
1212
<actionGroup name="viewConfigurableProductInAdminGrid">
1313
<arguments>
1414
<argument name="product" defaultValue="_defaultProduct"/>
@@ -35,13 +35,4 @@
3535

3636
<click selector="{{AdminProductGridFilterSection.clearFilters}}" stepKey="clickClearFiltersAfter"/>
3737
</actionGroup>
38-
39-
<actionGroup name="addProductImage">
40-
<arguments>
41-
<argument name="image" defaultValue="ImageUpload"/>
42-
</arguments>
43-
<conditionalClick selector="{{AdminProductImagesSection.productImagesToggle}}" dependentSelector="{{AdminProductImagesSection.imageUploadButton}}" visible="false" stepKey="openProductImagesSection"/>
44-
<attachFile selector="{{AdminProductImagesSection.imageFileUpload}}" userInput="{{image.file}}" stepKey="uploadFile"/>
45-
<waitForAjaxLoad stepKey="waitForAjaxUpload"/>
46-
</actionGroup>
4738
</actionGroups>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
11-
<page name="AdminProductEditPage" url="catalog/product/new/set/4/type/{{type}}/" area="admin" module="Magento_Catalog" parameterized="true">
11+
<page name="AdminProductCreatePage" url="catalog/product/new/set/{{set}}/type/{{type}}/" area="admin" module="Magento_Catalog" parameterized="true">
1212
<section name="AdminProductFormConfigurationsSection"/>
1313
<section name="AdminCreateProductConfigurationsPanel"/>
1414
<section name="AdminNewAttributePanel"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Downloadable/ActionGroup/AdminDownloadableProductActionGroup.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
11-
11+
<!--Fill main fields in product form-->
1212
<actionGroup name="fillMainDownloadableProductForm">
1313
<arguments>
1414
<argument name="product" defaultValue="DownloadableProduct"/>
@@ -19,6 +19,7 @@
1919
<fillField selector="{{AdminProductFormSection.productQuantity}}" userInput="{{product.quantity}}" stepKey="fillProductQty"/>
2020
</actionGroup>
2121

22+
<!--Add a downloadable link that has max downloads-->
2223
<actionGroup name="addDownloadableProductLinkWithMaxDownloads">
2324
<arguments>
2425
<argument name="link" defaultValue="downloadableLinkWithMaxDownloads"/>
@@ -35,6 +36,7 @@
3536
<fillField userInput="{{link.sample}}" selector="{{AdminProductDownloadableSection.addLinkSampleUrlInput('0')}}" stepKey="fillDownloadableLinkSampleUrl"/>
3637
</actionGroup>
3738

39+
<!--Add a downloadable link with unlimited downloads-->
3840
<actionGroup name="addDownloadableProductLink">
3941
<arguments>
4042
<argument name="link" defaultValue="downloadableLink"/>
@@ -50,7 +52,8 @@
5052
<fillField userInput="{{link.file}}" selector="{{AdminProductDownloadableSection.addLinkFileUrlInput('1')}}" stepKey="fillDownloadableLinkFileUrl"/>
5153
<attachFile userInput="{{link.sample}}" selector="{{AdminProductDownloadableSection.addLinkSampleUploadFile('1')}}" stepKey="attachDownloadableLinkUploadSample"/>
5254
</actionGroup>
53-
55+
56+
<!--Add a downloadable sample file-->
5457
<actionGroup name="addDownloadableSampleFile">
5558
<arguments>
5659
<argument name="sample" defaultValue="downloadableSampleFile"/>
@@ -63,6 +66,7 @@
6366
<waitForAjaxLoad stepKey="waitForSampleFileUpload"/>
6467
</actionGroup>
6568

69+
<!--Add a downloadable sample URL-->
6670
<actionGroup name="addDownloadableSampleUrl">
6771
<arguments>
6872
<argument name="sample" defaultValue="downloadableSampleUrl"/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
11-
<page name="AdminProductEditPage" url="catalog/product/new/set/4/type/{{type}}/" area="admin" module="Magento_Catalog" parameterized="true">
11+
<page name="AdminProductCreatePage" url="catalog/product/new/set/{{set}}/type/{{type}}/" area="admin" module="Magento_Catalog" parameterized="true">
1212
<section name="AdminProductDownloadableSection"/>
1313
</page>
1414
</pages>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/GroupedProduct/ActionGroup/AdminGroupedProductActionGroup.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
11-
11+
<!--Check that required fields are actually required-->
1212
<actionGroup name="checkRequiredFieldsInGroupedProductForm">
1313
<clearField selector="{{AdminProductFormSection.productName}}" stepKey="clearProductSku"/>
1414
<clearField selector="{{AdminProductFormSection.productSku}}" stepKey="clearProductName"/>
@@ -18,6 +18,7 @@
1818
<see selector="{{AdminProductFormSection.fieldError('sku')}}" userInput="This is a required field." stepKey="seeSkuRequired"/>
1919
</actionGroup>
2020

21+
<!--Fill main fields in grouped product form-->
2122
<actionGroup name="fillGroupedProductForm">
2223
<arguments>
2324
<argument name="product" defaultValue="GroupedProduct"/>
@@ -26,6 +27,7 @@
2627
<fillField selector="{{AdminProductFormSection.productSku}}" userInput="{{product.sku}}" stepKey="fillProductName"/>
2728
</actionGroup>
2829

30+
<!--Filter product grid and see expected grouped product-->
2931
<actionGroup name="viewGroupedProductInAdminGrid">
3032
<arguments>
3133
<argument name="product" defaultValue="GroupedProduct"/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
11-
<page name="AdminProductEditPage" url="catalog/product/new/set/4/type/{{type}}/" area="admin" module="Magento_Catalog" parameterized="true">
11+
<page name="AdminProductCreatePage" url="catalog/product/new/set/{{set}}/type/{{type}}/" area="admin" module="Magento_Catalog" parameterized="true">
1212
<section name="AdminProductFormGroupedProductsSection"/>
1313
<section name="AdminAddProductsToGroupPanel"/>
1414
</page>

0 commit comments

Comments
 (0)