Skip to content

Commit ee1807b

Browse files
committed
MC-5233: DateTime product attributes support
1 parent 86a5fe1 commit ee1807b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateSimpleProductWithDatetimeAttributeTest.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,15 @@
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"/>

0 commit comments

Comments
 (0)