File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
app/code/Magento/ConfigurableProduct/Test/Mftf Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 66
66
<see selector =" {{AdminProductMessagesSection.successMessage}}" userInput =" You saved the product." stepKey =" assertSuccess" />
67
67
</actionGroup >
68
68
69
- <actionGroup name =" AdminGenerateConfigurations " >
69
+ <actionGroup name =" AdminGenerateProductConfigurations " >
70
70
<arguments >
71
71
<argument name =" attributeCode" type =" string" />
72
72
<argument name =" qty" type =" string" />
79
79
<click selector =" {{AdminDataGridTableSection.rowCheckbox('1')}}" stepKey =" clickOnFirstCheckbox" />
80
80
<click selector =" {{AdminCreateProductConfigurationsPanel.next}}" stepKey =" clickNextStep" />
81
81
<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" />
83
83
<click selector =" {{AdminCreateProductConfigurationsPanel.next}}" stepKey =" clickNextStep1" />
84
84
<waitForElementVisible selector =" {{AdminCreateProductConfigurationsPanel.applySinglePriceToAllSkus}}" stepKey =" waitForNextPageOpened1" />
85
85
<click selector =" {{AdminCreateProductConfigurationsPanel.applySinglePriceToAllSkus}}" stepKey =" clickOnApplySinglePriceToAllSkus" />
Original file line number Diff line number Diff line change 80
80
<switchToIFrame stepKey =" switchOutOfIFrame" />
81
81
82
82
<!-- Generate products -->
83
- <actionGroup ref =" AdminGenerateConfigurations " stepKey =" generateProducts" >
83
+ <actionGroup ref =" AdminGenerateProductConfigurations " stepKey =" generateProducts" >
84
84
<argument name =" attributeCode" value =" {{productAttributeWithDropdownTwoOptions.attribute_code}}" />
85
85
<argument name =" qty" value =" 100" />
86
86
<argument name =" price" value =" 10" />
87
87
</actionGroup >
88
88
<waitForElementVisible selector =" {{AdminProductFormActionSection.saveButton}}" stepKey =" waitForSaveButtonVisible" />
89
+ <scrollToTopOfPage stepKey =" scrollToTop" />
89
90
<click selector =" {{AdminProductFormActionSection.saveButton}}" stepKey =" saveProduct" />
90
91
<waitForElementVisible selector =" {{AdminChooseAffectedAttributeSetPopup.confirm}}" stepKey =" waitForPopUpVisible" />
91
92
<click selector =" {{AdminChooseAffectedAttributeSetPopup.confirm}}" stepKey =" clickOnConfirmInPopup" />
104
105
105
106
<!-- Click on "Save"-->
106
107
<waitForElementVisible selector =" {{AdminProductFormActionSection.saveButton}}" stepKey =" waitForSaveBtnVisible" />
108
+ <scrollToTopOfPage stepKey =" scrollToTop1" />
107
109
<click selector =" {{AdminProductFormActionSection.saveButton}}" stepKey =" saveProductAgain" />
108
110
109
111
<!-- Click on "Confirm". Product is saved, success message appears -->
You can’t perform that action at this time.
0 commit comments