Skip to content

Commit b77ca9f

Browse files
committed
Fix failed flaky test, add reindex before test execution
1 parent 6386136 commit b77ca9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/SalesRule/Test/Mftf/Test/AdminCreatePercentOfProductPriceTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
<before>
2323
<createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
24+
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
25+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
2426
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
2527
</before>
2628

0 commit comments

Comments
 (0)