|
72 | 72 | <searchAndMultiSelectOption selector="{{AdminProductFormSection.categoriesDropdown}}" parameterArray="[$$simpleCategory1.name$$]" stepKey="searchAndSelectCategory1"/>
|
73 | 73 | <waitForPageLoad time="30" stepKey="waitForPageLoad3"/>
|
74 | 74 |
|
| 75 | + <waitForElementVisible selector="{{AdminProductFormConfigurationsSection.createConfigurations}}" stepKey="waitForCreateConfigurationsButtonVisible" /> |
75 | 76 | <click selector="{{AdminProductFormConfigurationsSection.createConfigurations}}" stepKey="clickOnTheCreateConfigurationsButton1"/>
|
76 | 77 | <waitForElementVisible selector="{{AdminConfigurableProductSelectAttributesSlideOut.grid}}" time="30" stepKey="waitForGridPresent1"/>
|
77 | 78 |
|
78 | 79 | <waitForPageLoad time="30" stepKey="waitForPageLoad4"/>
|
| 80 | + <waitForElementVisible selector="{{AdminCreateProductConfigurationsPanel.createNewAttribute}}" stepKey="waitForCreateNewAttributeButtonVisible" /> |
79 | 81 | <click selector="{{AdminCreateProductConfigurationsPanel.createNewAttribute}}" stepKey="clickOnCreateNewAttribute1"/>
|
80 | 82 | <waitForPageLoad time="30" stepKey="waitForPageLoad5"/>
|
81 | 83 |
|
82 | 84 | <switchToIFrame selector="{{AdminNewAttributePanel.newAttributeIFrame}}" stepKey="switchToNewAttributeIFrame1"/>
|
83 | 85 | <fillField selector="{{AdminNewAttributePanel.defaultLabel}}" userInput="{{visualSwatchAttribute.name}}" stepKey="fillDefaultLabel1"/>
|
84 | 86 | <selectOption selector="#frontend_input" userInput="{{visualSwatchAttribute.catalogInputType}}" stepKey="fillCatalogInputTypeForStoreOwner1"/>
|
85 | 87 |
|
86 |
| - <click selector="#add_new_swatch_visual_option_button" stepKey="clickOnAddSwatch1"/> |
| 88 | + <waitForElementVisible selector="{{AdminNewAttributePanel.addVisualSwatchOption}}" stepKey="waitForAddSwatch1ButtonVisible" /> |
| 89 | + <click selector="{{AdminNewAttributePanel.addVisualSwatchOption}}" stepKey="clickOnAddSwatch1"/> |
87 | 90 | <waitForPageLoad time="30" stepKey="waitForPageLoad6"/>
|
88 | 91 |
|
89 |
| - <fillField selector="input[name='optionvisual[value][option_0][0]']" userInput="{{visualSwatchColor1.name}}" stepKey="fillAdminName1"/> |
90 |
| - <fillField selector="input[name='optionvisual[value][option_0][1]']" userInput="{{visualSwatchColor1.name}}" stepKey="fillAdminName2"/> |
| 92 | + <waitForElementVisible selector="{{AdminCreateNewProductAttributeSection.visualSwatchAdmin('0')}}" stepKey="waitForVisualSwatch1FieldVisible" /> |
| 93 | + <fillField selector="{{AdminCreateNewProductAttributeSection.visualSwatchStore('0')}}" userInput="{{visualSwatchColor1.name}}" stepKey="fillAdminName1"/> |
| 94 | + <fillField selector="{{AdminCreateNewProductAttributeSection.visualSwatchAdmin('0')}}" userInput="{{visualSwatchColor1.name}}" stepKey="fillAdminName2"/> |
91 | 95 |
|
92 |
| - <click selector="#add_new_swatch_visual_option_button" stepKey="clickOnAddSwatch2"/> |
| 96 | + <waitForElementVisible selector="{{AdminNewAttributePanel.addVisualSwatchOption}}" stepKey="waitForAddSwatch2ButtonVisible" /> |
| 97 | + <click selector="{{AdminNewAttributePanel.addVisualSwatchOption}}" stepKey="clickOnAddSwatch2"/> |
93 | 98 | <waitForPageLoad time="30" stepKey="waitForPageLoad7"/>
|
94 | 99 |
|
95 |
| - <fillField selector="input[name='optionvisual[value][option_1][0]']" userInput="{{visualSwatchColor2.name}}" stepKey="fillAdminName3"/> |
96 |
| - <fillField selector="input[name='optionvisual[value][option_1][1]']" userInput="{{visualSwatchColor2.name}}" stepKey="fillAdminName4"/> |
| 100 | + <waitForElementVisible selector="{{AdminCreateNewProductAttributeSection.visualSwatchAdmin('1')}}" stepKey="waitForVisualSwatchFieldVisible" /> |
| 101 | + <fillField selector="{{AdminCreateNewProductAttributeSection.visualSwatchStore('1')}}" userInput="{{visualSwatchColor2.name}}" stepKey="fillAdminName3"/> |
| 102 | + <fillField selector="{{AdminCreateNewProductAttributeSection.visualSwatchAdmin('1')}}" userInput="{{visualSwatchColor2.name}}" stepKey="fillAdminName4"/> |
97 | 103 |
|
98 | 104 | <click selector="{{AdminNewAttributePanel.saveAttribute}}" stepKey="clickOnNewAttributePanel1"/>
|
99 | 105 | <waitForPageLoad stepKey="waitForPageLoad8"/>
|
|
106 | 112 | <argument name="value" value="{{visualSwatchAttribute.name}}"/>
|
107 | 113 | </actionGroup>
|
108 | 114 |
|
| 115 | + <waitForElementVisible selector="{{AdminGridRow.checkboxByValue(visualSwatchAttribute.name)}}" stepKey="waitForClickOnTheColorAttribute1" /> |
109 | 116 | <click selector="{{AdminGridRow.checkboxByValue(visualSwatchAttribute.name)}}" stepKey="clickOnTheColorAttribute1"/>
|
| 117 | + <waitForElementVisible selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="waitForClickOnNextButton1" /> |
110 | 118 | <click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="clickOnNextButton1"/>
|
| 119 | + <waitForElementVisible selector="{{AdminCreateProductConfigurationsPanel.selectAll}}" stepKey="waitForClickOnSelectAll1" /> |
111 | 120 | <click selector="{{AdminCreateProductConfigurationsPanel.selectAll}}" stepKey="clickOnSelectAll1"/>
|
112 | 121 |
|
| 122 | + <waitForElementVisible selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="waitForClickOnNextButton2" /> |
113 | 123 | <click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="clickOnNextButton2"/>
|
| 124 | + <waitForElementVisible selector="{{AdminCreateProductConfigurationsPanel.applySingleQuantityToEachSkus}}" stepKey="waitForClickOnApplySingleQuantityToEachSku1" /> |
114 | 125 | <click selector="{{AdminCreateProductConfigurationsPanel.applySingleQuantityToEachSkus}}" stepKey="clickOnApplySingleQuantityToEachSku1"/>
|
| 126 | + <waitForElementVisible selector="{{AdminConfigurableProductAssignSourcesSlideOut.assignSources}}" stepKey="waitForClickOnAssignSources2" /> |
115 | 127 | <click selector="{{AdminConfigurableProductAssignSourcesSlideOut.assignSources}}" stepKey="clickOnAssignSources2"/>
|
116 | 128 |
|
117 | 129 | <waitForPageLoad time="30" stepKey="waitForPageLoad"/>
|
|
122 | 134 | <argument name="value" value="$$createSource1.source[source_code]$$"/>
|
123 | 135 | </actionGroup>
|
124 | 136 | <click selector="{{AdminGridRow.checkboxByValue($$createSource1.source[name]$$)}}" stepKey="clickOnTheCheckboxForSource2"/>
|
| 137 | + <waitForElementVisible selector="{{AdminConfigurableProductAssignSourcesSlideOut.done}}" stepKey="waitForClickOnDone3" /> |
125 | 138 | <click selector="{{AdminConfigurableProductAssignSourcesSlideOut.done}}" stepKey="clickOnDone3"/>
|
126 | 139 |
|
127 | 140 | <fillField selector="{{AdminConfigurableProductAssignSourcesSlideOut.quantityPerSourceForMultiMode}}" userInput="100" stepKey="fillTheQuantityField1"/>
|
| 141 | + <waitForElementVisible selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="waitForClickOnNextButton4" /> |
128 | 142 | <click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="clickOnNextButton4"/>
|
| 143 | + <waitForElementVisible selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="waitForClickOnNextButton5" /> |
129 | 144 | <click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="clickOnNextButton5"/>
|
130 | 145 |
|
| 146 | + <waitForElementVisible selector="{{AdminProductFormActionSection.saveButton}}" stepKey="waitForClickOnSaveButton2" /> |
131 | 147 | <click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickOnSaveButton2"/>
|
| 148 | + <waitForElementVisible selector="button[data-index='confirm_button']" stepKey="waitForClickOnConfirm1" /> |
132 | 149 | <click selector="button[data-index='confirm_button']" stepKey="clickOnConfirm1"/>
|
133 | 150 | <waitForPageLoad stepKey="waitForPageLoad10"/>
|
134 |
| - <seeElement selector="{{AdminProductMessagesSection.successMessage}}" stepKey="seeSaveProductMessage1"/> |
| 151 | + <waitForElementVisible selector="{{AdminProductMessagesSection.successMessage}}" stepKey="seeSaveProductMessage1"/> |
135 | 152 |
|
136 | 153 | <amOnPage url="{{AdminOrdersPage.url}}" stepKey="goToOrdersPage1"/>
|
137 | 154 | <waitForPageLoad time="30" stepKey="waitForPageLoad11"/>
|
138 | 155 |
|
139 | 156 | <click selector="{{AdminOrdersGridSection.createNewOrder}}" stepKey="clickOnCreateNewOrder1"/>
|
140 |
| - |
| 157 | + <waitForElementVisible selector="button[title='Create New Customer']" stepKey="waitForClickOnCreateNewCustomer1" /> |
141 | 158 | <click selector="button[title='Create New Customer']" stepKey="clickOnCreateNewCustomer1"/>
|
142 | 159 | <waitForPageLoad stepKey="waitForPageLoad12"/>
|
143 | 160 |
|
|
0 commit comments