Skip to content

Commit e4ffc68

Browse files
author
Stas Puga
committed
MAGETWO-90115: Automate purchasing a product with Custom Options
1 parent 3073cb9 commit e4ffc68

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@
109109
<!-- Update Option Customizable Options and Option Value 1-->
110110

111111
<waitForPageLoad time="30" stepKey="waitForPageLoad8"/>
112-
<uncheckOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitle}}" stepKey="unCheckboxUseDefaultOptionTitle"/>
112+
<uncheckOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitle}}" stepKey="unCheckUseDefaultOptionTitle"/>
113113
<fillField selector="{{AdminProductCustomizableOptionsSection.fillOptionTitle('Custom Options 1')}}" userInput="FR Custom Options 1" stepKey="fillOptionTitle2"/>
114-
<uncheckOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitleByIndex('0')}}" stepKey="unCheckboxUseDefaultOptionValueTitle1"/>
114+
<uncheckOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitleByIndex('0')}}" stepKey="unCheckUseDefaultOptionValueTitle1"/>
115115
<fillField selector="{{AdminProductCustomizableOptionsSection.fillOptionValueTitle('FR Custom Options 1', '0')}}" userInput="FR option1" stepKey="fillOptionValueTitle3"/>
116116

117117
<!-- Update Product with Option Value 1 DropDown 1-->
118118

119119
<click selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitleByIndex('1')}}" stepKey="clickHiddenRequireMessage"/>
120-
<uncheckOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitleByIndex('1')}}" stepKey="unCheckboxUseDefaultOptionValueTitle2"/>
120+
<uncheckOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitleByIndex('1')}}" stepKey="unCheckUseDefaultOptionValueTitle2"/>
121121
<fillField selector="{{AdminProductCustomizableOptionsSection.fillOptionValueTitle('FR Custom Options 1', '1')}}" userInput="FR option2" stepKey="fillOptionValueTitle4"/>
122122
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveButton2"/>
123123

@@ -269,13 +269,13 @@
269269
<!-- Update Option Customizable Options and Option Value 1-->
270270

271271
<waitForPageLoad time="30" stepKey="waitForPageLoad10"/>
272-
<checkOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitle}}" stepKey="checkboxUseDefaultOptionTitle"/>
273-
<checkOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitleByIndex('0')}}" stepKey="checkboxUseDefaultOptionValueTitle1"/>
272+
<checkOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitle}}" stepKey="checkUseDefaultOptionTitle"/>
273+
<checkOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitleByIndex('0')}}" stepKey="checkUseDefaultOptionValueTitle1"/>
274274

275275
<!-- Update Product with Option Value 1 DropDown 1-->
276276

277277
<waitForPageLoad time="30" stepKey="waitForPageLoad11"/>
278-
<checkOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitleByIndex('1')}}" stepKey="checkboxUseDefaultOptionValueTitle2"/>
278+
<checkOption selector="{{AdminProductCustomizableOptionsSection.useDefaultOptionTitleByIndex('1')}}" stepKey="checkUseDefaultOptionValueTitle2"/>
279279
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveButton3"/>
280280

281281
<!--Go to Product Page-->

0 commit comments

Comments
 (0)