File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
app/code/Magento/Catalog/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 4545 <actionGroup ref =" addProductAttributeInProductModal" stepKey =" addDatetimeAttribute" >
4646 <argument name =" attributeCode" value =" $createDatetimeAttribute.attribute_code$" />
4747 </actionGroup >
48+ <!-- Flush config cache to reset product attributes in attribute set -->
49+ <magentoCLI command =" cache:flush" arguments =" config" stepKey =" flushConfigCache" />
50+ <!-- Save the product -->
51+ <actionGroup ref =" saveProductForm" stepKey =" saveProduct" />
4852 <!-- Check default value -->
4953 <scrollTo selector =" {{AdminProductAttributesSection.sectionHeader}}" stepKey =" goToAttributesSection" />
5054 <click selector =" {{AdminProductAttributesSection.sectionHeader}}" stepKey =" openAttributesSection" />
5155 <waitForElementVisible selector =" {{AdminProductAttributesSection.attributeTextInputByCode($createDatetimeAttribute.attribute_code$)}}" stepKey =" waitForSlideOutAttributes" />
5256 <seeInField selector =" {{AdminProductAttributesSection.attributeTextInputByCode($createDatetimeAttribute.attribute_code$)}}" userInput =" $generateDefaultValue" stepKey =" checkDefaultValue" />
53- <!-- Save the product -->
54- <actionGroup ref =" saveProductForm" stepKey =" saveProduct" />
5557 <!-- Check datetime grid filter -->
5658 <amOnPage url =" {{AdminProductIndexPage.url}}" stepKey =" goToAdminProductIndexPage" />
5759 <conditionalClick selector =" {{AdminDataGridHeaderSection.clearFilters}}" dependentSelector =" {{AdminDataGridHeaderSection.clearFilters}}" visible =" true" stepKey =" clickClearFilters" />
You can’t perform that action at this time.
0 commit comments