Skip to content

Commit 17c6bdc

Browse files
committed
MAGETWO-95752: Unable to create Configurations for Configurable Products
1 parent 8023476 commit 17c6bdc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

app/code/Magento/ConfigurableProduct/Test/Mftf/ActionGroup/AdminCreateConfigurableProductActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<see selector="{{AdminProductMessagesSection.successMessage}}" userInput="You saved the product." stepKey="assertSuccess"/>
6767
</actionGroup>
6868

69-
<actionGroup name="AdminGenerateConfigurations">
69+
<actionGroup name="AdminGenerateProductConfigurations">
7070
<arguments>
7171
<argument name="attributeCode" type="string"/>
7272
<argument name="qty" type="string"/>
@@ -79,7 +79,7 @@
7979
<click selector="{{AdminDataGridTableSection.rowCheckbox('1')}}" stepKey="clickOnFirstCheckbox"/>
8080
<click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="clickNextStep"/>
8181
<waitForElementVisible selector="{{AdminCreateProductConfigurationsPanelSection.selectAllByAttribute(attributeCode)}}" stepKey="waitForNextPageOpened"/>
82-
<click selector="{{AdminCreateProductConfigurationsPanelSection.selectAllByAttribute(productAttributeWithDropdownTwoOptions.attribute_code)}}" stepKey="clickSelectAll"/>
82+
<click selector="{{AdminCreateProductConfigurationsPanelSection.selectAllByAttribute(attributeCode)}}" stepKey="clickSelectAll"/>
8383
<click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="clickNextStep1"/>
8484
<waitForElementVisible selector="{{AdminCreateProductConfigurationsPanel.applySinglePriceToAllSkus}}" stepKey="waitForNextPageOpened1"/>
8585
<click selector="{{AdminCreateProductConfigurationsPanel.applySinglePriceToAllSkus}}" stepKey="clickOnApplySinglePriceToAllSkus"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCheckValidatorConfigurableProductTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,13 @@
8080
<switchToIFrame stepKey="switchOutOfIFrame"/>
8181

8282
<!-- Generate products -->
83-
<actionGroup ref="AdminGenerateConfigurations" stepKey="generateProducts">
83+
<actionGroup ref="AdminGenerateProductConfigurations" stepKey="generateProducts">
8484
<argument name="attributeCode" value="{{productAttributeWithDropdownTwoOptions.attribute_code}}"/>
8585
<argument name="qty" value="100"/>
8686
<argument name="price" value="10"/>
8787
</actionGroup>
8888
<waitForElementVisible selector="{{AdminProductFormActionSection.saveButton}}" stepKey="waitForSaveButtonVisible"/>
89+
<scrollToTopOfPage stepKey="scrollToTop"/>
8990
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProduct"/>
9091
<waitForElementVisible selector="{{AdminChooseAffectedAttributeSetPopup.confirm}}" stepKey="waitForPopUpVisible"/>
9192
<click selector="{{AdminChooseAffectedAttributeSetPopup.confirm}}" stepKey="clickOnConfirmInPopup"/>
@@ -104,6 +105,7 @@
104105

105106
<!--Click on "Save"-->
106107
<waitForElementVisible selector="{{AdminProductFormActionSection.saveButton}}" stepKey="waitForSaveBtnVisible"/>
108+
<scrollToTopOfPage stepKey="scrollToTop1"/>
107109
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProductAgain"/>
108110

109111
<!--Click on "Confirm". Product is saved, success message appears -->

0 commit comments

Comments
 (0)