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 45
45
<actionGroup ref =" addProductAttributeInProductModal" stepKey =" addDatetimeAttribute" >
46
46
<argument name =" attributeCode" value =" $createDatetimeAttribute.attribute_code$" />
47
47
</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" />
48
52
<!-- Check default value -->
49
53
<scrollTo selector =" {{AdminProductAttributesSection.sectionHeader}}" stepKey =" goToAttributesSection" />
50
54
<click selector =" {{AdminProductAttributesSection.sectionHeader}}" stepKey =" openAttributesSection" />
51
55
<waitForElementVisible selector =" {{AdminProductAttributesSection.attributeTextInputByCode($createDatetimeAttribute.attribute_code$)}}" stepKey =" waitForSlideOutAttributes" />
52
56
<seeInField selector =" {{AdminProductAttributesSection.attributeTextInputByCode($createDatetimeAttribute.attribute_code$)}}" userInput =" $generateDefaultValue" stepKey =" checkDefaultValue" />
53
- <!-- Save the product -->
54
- <actionGroup ref =" saveProductForm" stepKey =" saveProduct" />
55
57
<!-- Check datetime grid filter -->
56
58
<amOnPage url =" {{AdminProductIndexPage.url}}" stepKey =" goToAdminProductIndexPage" />
57
59
<conditionalClick selector =" {{AdminDataGridHeaderSection.clearFilters}}" dependentSelector =" {{AdminDataGridHeaderSection.clearFilters}}" visible =" true" stepKey =" clickClearFilters" />
You can’t perform that action at this time.
0 commit comments