Skip to content

Commit

Permalink
MFTF tests stabilization
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov committed Nov 5, 2019
1 parent d9c6d88 commit f4beb6e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
<fillField selector="{{AdminProductSourcesGrid.rowQty('0')}}" userInput="{{SimpleMsiProduct.quantity}}"
stepKey="fillSourceQtyField"/>
<actionGroup ref="AdminFormSaveAndClose" stepKey="saveAndClose"/>

<!-- Perform reindex and flush cache -->
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
<magentoCLI command="cache:flush" stepKey="flushCache"/>
</before>
<after>
<actionGroup ref="logout" stepKey="logoutFromAdminArea"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
</actionGroup>
<fillField selector="{{AdminProductSourcesGrid.rowQty('1')}}" userInput="100" stepKey="setProductQuantity"/>
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveEditedSimpleProduct"/>

<!-- Perform reindex and flush cache -->
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
<magentoCLI command="cache:flush" stepKey="flushCache"/>
</before>

<after>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@
<argument name="Customer" value="$$customer$$"/>
</actionGroup>

<!-- Perform reindex and flush cache -->
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
<magentoCLI command="cache:flush" stepKey="flushCache"/>

<amOnPage url="{{StorefrontHomePage.url}}" stepKey="goToFrontPage"/>
<actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="searchStorefront">
<argument name="phrase" value="$createBundleProduct.name$"/>
Expand Down
6 changes: 6 additions & 0 deletions InventoryReservationCli/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryReservationCli">
Expand Down

0 comments on commit f4beb6e

Please sign in to comment.