Skip to content

Commit

Permalink
Version 1.2.6-p8
Browse files Browse the repository at this point in the history
  • Loading branch information
magento packaging service committed Oct 3, 2024
1 parent 5726b2e commit 02b3e20
Show file tree
Hide file tree
Showing 528 changed files with 3,199 additions and 1,367 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,16 @@
<see userInput="$$virtualProduct1.product[sku]$$" selector="{{StorefrontProductInfoMainSection.productSku}}" stepKey="assertProductSku1"/>

<magentoCLI command="config:set cataloginventory/options/stock_threshold_qty 99" stepKey="setMinQtyToDefaultValue1"/>
<magentoCLI command="indexer:reindex" stepKey="reindex1"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex1">
<argument name="indices" value=""/>
</actionGroup>
<magentoCLI command="cache:flush" stepKey="flushCache1"/>

<actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginToStorefront">
<argument name="Customer" value="$$customer$$"/>
</actionGroup>

<actionGroup ref="NavigateToNewOrderPageExistingCustomerActionGroup" stepKey="createNewOrderForCustomer">
<actionGroup ref="AdminNavigateToNewOrderPageExistingCustomerActionGroup" stepKey="createNewOrderForCustomer">
<argument name="customer" value="$$customer$$"/>
</actionGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
</createData>

<magentoCLI command="config:set cataloginventory/options/stock_threshold_qty 0" stepKey="setMinQtyToDefaultValue1"/>
<magentoCLI command="indexer:reindex" stepKey="reindex1"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex1">
<argument name="indices" value=""/>
</actionGroup>
<magentoCLI command="cache:flush" stepKey="flushCache1"/>

<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin1"/>
Expand All @@ -52,7 +54,9 @@
<click selector="{{AdminGridMainControls.saveAndContinue}}" stepKey="saveDefaultStock"/>

<comment userInput="Perform reindex and cache flush after assign default stock to main website." stepKey="reindexCacheFlushAfterAssignDefaultStockToMainWebsite"/>
<magentoCLI command="indexer:reindex" stepKey="performReindex"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="performReindex">
<argument name="indices" value=""/>
</actionGroup>
<magentoCLI command="cache:flush" stepKey="cleanCache"/>
</before>
<after>
Expand Down Expand Up @@ -80,14 +84,16 @@
<actionGroup ref="AdminFormSaveAndCloseActionGroup" stepKey="saveAndClose1"/>

<magentoCLI command="config:set cataloginventory/options/stock_threshold_qty 5" stepKey="setMinQtyToDefaultValue1"/>
<magentoCLI command="indexer:reindex" stepKey="reindex1"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex1">
<argument name="indices" value=""/>
</actionGroup>
<magentoCLI command="cache:flush" stepKey="flushCache1"/>

<actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginToStorefront">
<argument name="Customer" value="$$customer$$"/>
</actionGroup>

<actionGroup ref="NavigateToNewOrderPageExistingCustomerActionGroup" stepKey="createNewOrderForCustomer">
<actionGroup ref="AdminNavigateToNewOrderPageExistingCustomerActionGroup" stepKey="createNewOrderForCustomer">
<argument name="customer" value="$$customer$$"/>
</actionGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
<actionGroup ref="AdminAssignCategoryToProductAndSaveActionGroup" stepKey="assignCategoryToProduct">
<argument name="categoryName" value="$category.name$"/>
</actionGroup>
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
<comment userInput="BIC workaround" stepKey="reindex"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex1">
<argument name="indices" value=""/>
</actionGroup>
<magentoCLI command="cache:flush" stepKey="flushCache"/>
</before>
<after>
Expand All @@ -37,7 +40,9 @@
<deleteData createDataKey="product" stepKey="deleteProduct"/>
<actionGroup ref="DisableAllSourcesActionGroup" stepKey="disableAllSources"/>
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutOfAdmin"/>
<magentoCron groups="index" stepKey="reindex"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
</after>

<!--Verify product on category page.-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveVirtualProduct1"/>

<actionGroup ref="NavigateToNewOrderPageExistingCustomerActionGroup" stepKey="newOrderExistingCustomer1">
<actionGroup ref="AdminNavigateToNewOrderPageExistingCustomerActionGroup" stepKey="newOrderExistingCustomer1">
<argument name="customer" value="Simple_US_Customer"/>
</actionGroup>

Expand All @@ -70,7 +70,9 @@
<seeInCurrentUrl url="{{AdminOrderDetailsPage.url}}" stepKey="seeViewOrderPage"/>
<see selector="{{AdminOrderDetailsMessagesSection.successMessage}}" userInput="You created the order." stepKey="seeSuccessMessage"/>

<magentoCLI command="indexer:reindex" stepKey="runIndexerReindex2"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="runIndexerReindex2">
<argument name="indices" value=""/>
</actionGroup>
<magentoCLI command="cache:flush" stepKey="cleanCacheAfterDisableManageStock2"/>

<amOnPage url="/$$createProduct1.product[sku]$$.html" stepKey="amOnProductPage2"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
<requiredEntity createDataKey="customStock"/>
<requiredEntity createDataKey="customSource1"/>
</createData>
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<magentoCLI command="cache:flush" stepKey="flushCache"/>
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin1"/>
</before>
Expand Down Expand Up @@ -96,7 +98,9 @@
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveVirtualProduct2"/>

<magentoCLI command="config:set {{TurnOffManageStockConfig.path}} {{TurnOffManageStockConfig.value}}" stepKey="magentoCLI1"/>
<magentoCLI command="indexer:reindex" stepKey="performReindexAfterDisableManageStock"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="performReindexAfterDisableManageStock">
<argument name="indices" value=""/>
</actionGroup>
<magentoCLI command="cache:flush" stepKey="cleanCacheAfterDisableManageStock"/>

<actionGroup ref="AssertProductInStorefrontCategoryPage" stepKey="checkConfigurableIsPresentOnCategoryPage2">
Expand Down
12 changes: 7 additions & 5 deletions Inventory/composer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "magento/module-inventory",
"description": "N/A",
"require": {
"php": "~8.1.0||~8.2.0",
"magento/framework": "*",
"magento/module-inventory-api": "*"
},
"type": "magento2-module",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"version": "1.2.4-p4",
"require": {
"php": "~8.1.0||~8.2.0",
"magento/framework": "*",
"magento/module-inventory-api": "1.2.*"
},
"autoload": {
"files": [
"registration.php"
Expand All @@ -20,3 +21,4 @@
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,25 @@
<remove keyForRemoval="clickOnFirstCheckbox"/>
<remove keyForRemoval="enterAttributeQuantity"/>

<click selector="{{AdminCreateProductConfigurationsPanel.attributeCheckbox(attributeCode)}}" stepKey="clickOnFirstAttributeCheckbox" after="clickCreateConfigurations"/>
<click selector="{{AdminCreateProductConfigurationsPanel.attributeCheckbox(secondAttributeCode)}}" stepKey="clickOnSecondAttributeCheckbox" after="clickOnFirstAttributeCheckbox"/>
<waitForElementClickable selector="{{AdminCreateProductConfigurationsPanel.attributeCheckbox(attributeCode)}}" stepKey="waitForCreateConfigurationsClickable" after="clickCreateConfigurations"/>
<click selector="{{AdminCreateProductConfigurationsPanel.attributeCheckbox(attributeCode)}}" stepKey="clickOnFirstAttributeCheckbox" after="waitForCreateConfigurationsClickable"/>
<waitForElementClickable selector="{{AdminCreateProductConfigurationsPanel.attributeCheckbox(secondAttributeCode)}}" stepKey="waitForFirstAttributeCheckboxClickable" after="clickOnFirstAttributeCheckbox"/>
<click selector="{{AdminCreateProductConfigurationsPanel.attributeCheckbox(secondAttributeCode)}}" stepKey="clickOnSecondAttributeCheckbox" after="waitForFirstAttributeCheckboxClickable"/>
<grabTextFrom selector="{{AdminCreateProductConfigurationsPanel.defaultLabel(attributeCode)}}" stepKey="grabFirstAttributeDefaultLabel" after="clickOnSecondAttributeCheckbox"/>
<grabTextFrom selector="{{AdminCreateProductConfigurationsPanel.defaultLabel(secondAttributeCode)}}" stepKey="grabSecondAttributeDefaultLabel" after="grabFirstAttributeDefaultLabel"/>
<click selector="{{AdminCreateProductConfigurationsPanel.selectAllByAttribute({$grabFirstAttributeDefaultLabel})}}" stepKey="clickOnSelectAllForFirstAttribute" after="clickOnNextButton1"/>
<click selector="{{AdminCreateProductConfigurationsPanel.selectAllByAttribute({$grabSecondAttributeDefaultLabel})}}" stepKey="clickOnSelectAllForSecondAttribute" after="clickOnSelectAllForFirstAttribute"/>

<waitForElementClickable selector="{{AdminCreateProductConfigurationsPanel.selectAllByAttribute({$grabFirstAttributeDefaultLabel})}}" stepKey="waitForSelectAllForFirstAttributeClickable" after="clickOnNextButton1"/>
<click selector="{{AdminCreateProductConfigurationsPanel.selectAllByAttribute({$grabFirstAttributeDefaultLabel})}}" stepKey="clickOnSelectAllForFirstAttribute" after="waitForSelectAllForFirstAttributeClickable"/>
<waitForElementClickable selector="{{AdminCreateProductConfigurationsPanel.selectAllByAttribute({$grabSecondAttributeDefaultLabel})}}" stepKey="waitForSecondAttributeCheckboxClickable" after="clickOnSelectAllForFirstAttribute"/>
<click selector="{{AdminCreateProductConfigurationsPanel.selectAllByAttribute({$grabSecondAttributeDefaultLabel})}}" stepKey="clickOnSelectAllForSecondAttribute" after="waitForSecondAttributeCheckboxClickable"/>
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickOnSaveButton2"/>
<click selector="{{AdminChooseAffectedAttributeSetPopup.confirm}}" stepKey="clickOnConfirmInPopup"/>
<click selector="{{AdminConfigurableProductAssignSourcesSlideOut.assignSources}}" stepKey="openSelectSourcesModalWindow" after="clickOnApplySingleQuantityToEachSku"/>
<conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clearSourcesFilter" after="openSelectSourcesModalWindow"/>
<fillField selector="{{AdminDataGridHeaderSection.search}}" userInput="{{sourceName}}" stepKey="fillKeywordSearchField" after="clearSourcesFilter"/>
<click selector="{{AdminDataGridHeaderSection.submitSearch}}" stepKey="clickKeywordSearch" after="fillKeywordSearchField"/>
<click selector="{{AdminGridRow.checkboxByValue(sourceName)}}" stepKey="selectCustomSource" after="clickKeywordSearch"/>
<waitForElementClickable selector="{{AdminGridRow.checkboxByValue(sourceName)}}" stepKey="waitForCustomSourceClickable" after="clickKeywordSearch"/>
<click selector="{{AdminGridRow.checkboxByValue(sourceName)}}" stepKey="selectCustomSource" after="waitForCustomSourceClickable"/>
<click selector="{{AdminConfigurableProductAssignSourcesSlideOut.done}}" stepKey="doneAssignSources" after="selectCustomSource"/>
<fillField selector="{{AdminConfigurableProductAssignSourcesSlideOut.quantityPerSourceForMultiMode}}" userInput="100" stepKey="fillQuantityForCustomSource" after="doneAssignSources"/>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<argument name="websiteName" defaultValue="Main Website" type="string"/>
</arguments>
<amOnPage url="{{AdminStockPage.url}}" stepKey="navigateToManageStockPage"/>
<conditionalClick selector="{{AdminProductGridFilterSection.clearFilters}}" dependentSelector="{{AdminProductGridFilterSection.clearFilters}}" visible="true" stepKey="clickClearFilters"/>
<fillField selector="{{AdminManageStockGridBody.searchStockText}}" userInput="{{stockName}}" stepKey="enterStockName" />
<click selector="{{AdminManageStockGridBody.clickSearchStock}}" stepKey="clickSearchStockButton" />
<waitForPageLoad stepKey="waitForStoreGroupPageLoad" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<argument name="sourceName22"/>
</arguments>
<amOnPage url="{{AdminStockPage.url}}" stepKey="navigateToManageStockPage"/>
<conditionalClick selector="{{AdminProductGridFilterSection.clearFilters}}" dependentSelector="{{AdminProductGridFilterSection.clearFilters}}" visible="true" stepKey="clickClearFilters"/>
<fillField selector="{{AdminManageStockGridBody.searchStockText}}" userInput="{{stockName}}" stepKey="enterStockName" />
<click selector="{{AdminManageStockGridBody.clickSearchStock}}" stepKey="clickSearchStockButton" />
<waitForPageLoad stepKey="waitForStoreGroupPageLoad" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<argument name="sourceName2"/>
</arguments>
<amOnPage url="{{AdminStockPage.url}}" stepKey="navigateToManageStockPage"/>
<conditionalClick selector="{{AdminProductGridFilterSection.clearFilters}}" dependentSelector="{{AdminProductGridFilterSection.clearFilters}}" visible="true" stepKey="clickClearFilters"/>
<fillField selector="{{AdminManageStockGridBody.searchStockText}}" userInput="{{stockName}}" stepKey="enterStockName" />
<click selector="{{AdminManageStockGridBody.clickSearchStock}}" stepKey="clickSearchStockButton" />
<waitForPageLoad stepKey="waitForStoreGroupPageLoad" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<argument name="stockName" type="string" defaultValue="{{_defaultStock.name}}"/>
<argument name="stockQty" type="string" defaultValue="{{defaultProductQty.value}}"/>
</arguments>
<see selector="{{AdminProductGridSection.productQtyPerSource('1', sourceName)}}" userInput="{{sourceQty}}" stepKey="checkProductSourceQty"/>
<see selector="{{AdminProductGridSection.productSalableQty('1', stockName)}}" userInput="{{stockQty}}" stepKey="checkSalableQty"/>
<waitForText selector="{{AdminProductGridSection.productQtyPerSource('1', sourceName)}}" userInput="{{sourceQty}}" stepKey="checkProductSourceQty"/>
<waitForText selector="{{AdminProductGridSection.productSalableQty('1', stockName)}}" userInput="{{stockQty}}" stepKey="checkSalableQty"/>
</actionGroup>
</actionGroups>

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<!--Navigate to create order page (New Order -> Select Customer)-->
<actionGroup name="NavigateToNewOrderPageExistingCustomerActionGroup">
<actionGroup name="NavigateToNewOrderPageExistingCustomerActionGroup" deprecated="This Action Group is deprecated. Please use AdminNavigateToNewOrderPageExistingCustomerActionGroup.">
<arguments>
<argument name="customer"/>
</arguments>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<before>
<actionGroup ref="AdminDisableWYSIWYGActionGroup" stepKey="disableWYSYWYG"/>
<magentoCLI command="config:set {{TurnOnManageStockConfig.path}} {{TurnOnManageStockConfig.value}}" stepKey="enableStockManagement"/>
<magentoCron groups="index" stepKey="reindex"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config full_page"/>
</actionGroup>
Expand All @@ -26,7 +28,9 @@
<after>
<actionGroup ref="AdminEnableWYSIWYGActionGroup" stepKey="enableWYSYWYG"/>
<magentoCLI command="config:set {{TurnOffManageStockConfig.path}} {{TurnOffManageStockConfig.value}}" stepKey="disableStockManagement"/>
<magentoCron groups="index" stepKey="reindex"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config full_page"/>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<before>
<actionGroup ref="AdminDisableWYSIWYGActionGroup" stepKey="disableWYSYWYG"/>
<magentoCLI command="config:set {{TurnOnManageStockConfig.path}} {{TurnOnManageStockConfig.value}}" stepKey="enableStockManagement"/>
<magentoCron groups="index" stepKey="reindex"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config full_page"/>
</actionGroup>
Expand All @@ -26,7 +28,9 @@
<after>
<actionGroup ref="AdminEnableWYSIWYGActionGroup" stepKey="enableWYSYWYG"/>
<magentoCLI command="config:set {{TurnOffManageStockConfig.path}} {{TurnOffManageStockConfig.value}}" stepKey="disableStockManagement"/>
<magentoCron groups="index" stepKey="reindex"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config full_page"/>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<before>
<actionGroup ref="AdminDisableWYSIWYGActionGroup" stepKey="disableWYSYWYG"/>
<magentoCLI command="config:set {{TurnOnManageStockConfig.path}} {{TurnOnManageStockConfig.value}}" stepKey="enableStockManagement"/>
<magentoCron groups="index" stepKey="reindex"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config full_page"/>
</actionGroup>
Expand All @@ -26,7 +28,9 @@
<after>
<actionGroup ref="AdminEnableWYSIWYGActionGroup" stepKey="enableWYSYWYG"/>
<magentoCLI command="config:set {{TurnOffManageStockConfig.path}} {{TurnOffManageStockConfig.value}}" stepKey="disableStockManagement"/>
<magentoCron groups="index" stepKey="reindex"/>
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config full_page"/>
</actionGroup>
Expand Down
Loading

0 comments on commit 02b3e20

Please sign in to comment.