Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.3.0 Release preparation and Regression Bug Fixes #1856

Merged
merged 28 commits into from
Nov 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
370d0ec
MSI-1799: MFTF: Disable source code field
IvanPletnyov Oct 17, 2018
3c1772b
Merge branch '2.3-develop' into MSI-1799
ivy00johns Oct 18, 2018
86e79ef
magento-engcom/msi#1778-MSI-MFTF-Test-Cases-10
ivy00johns Oct 18, 2018
0366972
Merge branch '2.3-develop' into MSI-1799
ivy00johns Oct 19, 2018
1f9b954
Merge branch '2.3-develop' into MSI-1799
ivy00johns Oct 22, 2018
dcc30a3
Merge branch '2.3-develop' into MSI-1799
ivy00johns Oct 24, 2018
173e3e7
Merge branch '2.3-develop' into 1778-MSI-MFTF-Test-Cases-10
ivy00johns Oct 24, 2018
e8ff3dc
Merge branch '2.3-develop' into MSI-1799
ivy00johns Oct 29, 2018
1a8e589
MSI-1850: Exception is thrown when submitting shipment for a product …
seruymt Oct 29, 2018
e08bb7b
MSI-1850: Exception is thrown when submitting shipment for a product …
seruymt Oct 30, 2018
4be0c4f
Merge branch '2.3-develop' into 1778-MSI-MFTF-Test-Cases-10
ivy00johns Oct 30, 2018
cd34585
MSI-1852: Non of the class should call AppendReservationsInterface di…
seruymt Oct 31, 2018
619511e
MSI-1852: Non of the class should call AppendReservationsInterface di…
seruymt Oct 31, 2018
27fd1fd
Merge pull request #1855 from magento-engcom/MSI-1852
maghamed Oct 31, 2018
550d873
Merge pull request #1851 from magento-engcom/MSI-1850
maghamed Oct 31, 2018
2b4e9d0
Merge branch '2.3-develop' into MSI-1799
okolesnyk Oct 31, 2018
766a347
Merge branch '2.3-develop' into 1778-MSI-MFTF-Test-Cases-10
okolesnyk Oct 31, 2018
cb20a49
MSI-1849 + MSI-1591
seruymt Oct 31, 2018
516e59f
Merge pull request #1803 from magento-engcom/MSI-1799
okolesnyk Nov 1, 2018
5a9afbb
Merge branch '2.3-develop' into 1778-MSI-MFTF-Test-Cases-10
okolesnyk Nov 1, 2018
3fcc5dd
Added verification to Quick Search tests that Product appears in sear…
okolesnyk Nov 1, 2018
da8b520
MSI-1862: 500 error during creating shipment for order with configura…
IvanPletnyov Nov 1, 2018
b5d0df2
MSI-1862: 500 error during creating shipment for order with configura…
IvanPletnyov Nov 1, 2018
3834ebf
MSI-1862: 500 error during creating shipment for order with configura…
IvanPletnyov Nov 1, 2018
632c6e1
Merge pull request #1863 from magento-engcom/MSI-1862
maghamed Nov 1, 2018
3ec5c23
Merge pull request #1860 from magento-engcom/MSI-1849
maghamed Nov 1, 2018
4c1e872
Merge branch '2.3-develop' into 1778-MSI-MFTF-Test-Cases-10
okolesnyk Nov 1, 2018
b7bc879
Merge pull request #1833 from magento-engcom/1778-MSI-MFTF-Test-Cases-10
okolesnyk Nov 1, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
</arguments>

<click selector="{{AdminProductSourcesSection.assignSources}}" stepKey="clickOnAssignSources1"/>
<waitForLoadingMaskToDisappear stepKey="waitLoadingMask" />
<waitForPageLoad time="30" stepKey="waitForPageLoad1"/>
<conditionalClick selector="{{AdminGridFilterControls.clearAll}}" dependentSelector=".admin__data-grid-header[data-bind='afterRender: \$data.setToolbarNode'] .admin__data-grid-filters-current._show" visible="true" stepKey="clearTheFiltersIfPresent"/>
<waitForPageLoad stepKey="waitForPageLoad" time="5"/>
<waitForPageLoad stepKey="waitForPageLoad2"/>
<click selector="{{AdminGridFilterControls.filters}}" stepKey="clickOnFilters1"/>
<fillField userInput="{{filter_value}}" selector="{{filter_selector}}" stepKey="fillCodeField2"/>
<click selector="{{AdminGridFilterControls.applyFilters}}" stepKey="clickOnApplyFilters1"/>
<waitForPageLoad stepKey="waitForPageLoad2"/>
<waitForPageLoad stepKey="waitForPageLoad3"/>

<click selector="{{AdminAssignSourcesSlideOutGridSection.checkboxByCode(filter_value)}}" stepKey="clickOnCheckbox1"/>
<click selector="{{AdminAssignSourcesSlideOutSection.done}}" stepKey="clickOnDone1"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminCatalogQuickSearchForBundleProductInSingleStockModeTest">
<annotations>
<stories value="Catalog Quick Search"/>
<title value="Quick Catalog Search for Bundle Product on Single stock mode"/>
<description value="Quick Catalog Search for Bundle Product on Single stock mode"/>
<testCaseId value="MSI-1812"/>
<severity value="AVERAGE"/>
<group value="msi"/>
<group value="single_mode"/>
</annotations>

<before>
<createData entity="SimpleSubCategory" stepKey="category"/>
<createData entity="SimpleProduct" stepKey="simpleProduct">
<requiredEntity createDataKey="category"/>
</createData>

<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin1"/>
</before>
<after>
<actionGroup ref="logout" stepKey="logoutOfAdmin1"/>
</after>

<comment userInput="Create bundle product." stepKey="createBundleProductComment"/>
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="visitAdminProductPageBundle"/>
<waitForPageLoad stepKey="waitForPageLoad1"/>
<actionGroup ref="goToCreateProductPage" stepKey="goToCreateBundleProduct">
<argument name="product" value="BundleProduct"/>
</actionGroup>
<actionGroup ref="fillProductNameAndSkuInProductForm" stepKey="fillBundleProductNameAndSku">
<argument name="product" value="BundleProduct"/>
</actionGroup>

<comment userInput="Add bundle item." stepKey="addBundleItemComment"/>
<conditionalClick selector="{{AdminProductFormBundleSection.bundleItemsToggle}}" dependentSelector="{{AdminProductFormBundleSection.bundleItemsToggle}}" visible="false" stepKey="conditionallyOpenSectionBundleItems"/>
<click selector="{{AdminProductFormBundleSection.addOption}}" stepKey="clickAddOption"/>
<waitForPageLoad stepKey="waitForPageLoad2"/>
<fillField selector="{{AdminProductFormBundleSection.bundleOptionXTitle('0')}}" userInput="{{BundleProduct.optionTitle1}}" stepKey="fillOptionTitle"/>
<selectOption selector="{{AdminProductFormBundleSection.bundleOptionXInputType('0')}}" userInput="{{BundleProduct.optionInputType1}}" stepKey="selectInputType"/>
<waitForPageLoad stepKey="waitForPageLoad3"/>
<click selector="{{AdminProductFormBundleSection.addProductsToOption}}" stepKey="clickAddProductsToOption"/>
<waitForPageLoad stepKey="waitForPageLoad4"/>
<actionGroup ref="filterProductGridBySku" stepKey="filterBundleProductOptions">
<argument name="product" value="$$simpleProduct$$"/>
</actionGroup>
<checkOption selector="{{AdminAddProductsToOptionPanel.firstCheckbox}}" stepKey="selectFirstGridRow"/>
<click selector="{{AdminAddProductsToOptionPanel.addSelectedProducts}}" stepKey="clickAddSelectedBundleProducts"/>
<fillField selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity('0', '0')}}" userInput="5" stepKey="fillProductDefaultQty"/>
<actionGroup ref="AdminFormSaveAndClose" stepKey="saveAndCloseCreatedBundleProduct"/>

<amOnPage url="{{StorefrontHomePage.url}}" stepKey="goToHomePage1"/>
<waitForPageLoad time="30" stepKey="waitForPageLoad5"/>

<fillField userInput="{{BundleProduct.name}}" selector="{{StorefrontQuickSearchSection.searchPhrase}}" stepKey="fillSearchBar1"/>
<waitForPageLoad time="30" stepKey="waitForPageLoad6"/>
<click selector="{{StorefrontQuickSearchSection.searchButton}}" stepKey="clickSearchButton"/>
<seeInCurrentUrl url="{{StorefrontCatalogSearchPage.url}}" stepKey="checkUrl1"/>
<seeInTitle userInput="Search results for: '{{BundleProduct.name}}'" stepKey="assertQuickSearchTitle1"/>
<see userInput="Search results for: '{{BundleProduct.name}}'" selector="{{StorefrontCatalogSearchMainSection.SearchTitle}}" stepKey="assertQuickSearchName1"/>
<see selector="{{CatalogSearchResultSection.productListBlock}}" userInput="{{BundleProduct.name}}" stepKey="verifyProductAppearedInSearchResults" />
</test>
</tests>
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminCatalogQuickSearchForConfigurableProductOnTestStockTest">
<annotations>
<stories value="Catalog Quick Search"/>
<title value="Quick Catalog Search for Configurable Product on Test stock"/>
<description value="Quick Catalog Search for Configurable Product on Test stock"/>
<testCaseId value="MSI-1788"/>
<severity value="CRITICAL"/>
<group value="msi"/>
<group value="multi_mode"/>
</annotations>

<before>
<createData entity="FullSource1" stepKey="createSource1"/>
<createData entity="BasicMsiStockWithMainWebsite1" stepKey="createStock1"/>
<createData entity="SourceStockLinked1" stepKey="stockSourceLink1">
<requiredEntity createDataKey="createStock1"/>
<requiredEntity createDataKey="createSource1"/>
</createData>

<createData entity="SimpleSubCategory" stepKey="createCategory1"/>

<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin1"/>
</before>
<after>
<actionGroup ref="logout" stepKey="logoutOfAdmin1"/>
</after>

<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToAdminProductGrid"/>
<waitForPageLoad time="30" stepKey="waitForPageLoad1"/>
<click selector="{{AdminProductGridActionSection.addProductToggle}}" stepKey="clickOnAddProductToggle"/>
<click selector="{{AdminProductGridActionSection.addTypeProduct('configurable')}}"
stepKey="addConfigurableProduct"/>
<waitForPageLoad time="30" stepKey="waitForPageLoad2"/>

<fillField userInput="{{ConfigurableMsiProduct.name}}" selector="{{AdminProductFormSection.productName}}"
stepKey="fillProductName"/>
<fillField userInput="{{ConfigurableMsiProduct.price}}" selector="{{AdminProductFormSection.productPrice}}"
stepKey="fillProductPrice"/>
<fillField userInput="{{ConfigurableMsiProduct.sku}}" selector="{{AdminProductFormSection.productSku}}"
stepKey="fillProductSku"/>
<fillField userInput="{{ConfigurableMsiProduct.quantity}}"
selector="{{AdminConfigurableProductFormSection.productQuantity}}"
stepKey="fillProductQuantity"/>
<fillField userInput="{{ConfigurableMsiProduct.weight}}"
selector="{{AdminConfigurableProductFormSection.productWeight}}" stepKey="fillProductWeight"/>

<searchAndMultiSelectOption selector="{{AdminProductFormSection.categoriesDropdown}}"
parameterArray="[$$createCategory1.name$$]" stepKey="searchAndSelectCategory"/>
<click selector="{{AdminProductFormConfigurationsSection.createConfigurations}}"
stepKey="clickOnTheCreateConfigurationsButton"/>
<waitForPageLoad time="30" stepKey="waitForPageLoad3"/>

<click selector="{{AdminGridRow.checkboxByValue('color')}}" stepKey="selectColorAttribute"/>
<click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="navigateToSecondStep"/>

<click selector="{{AdminCreateProductConfigurationsPanel.createNewValue}}" stepKey="addNewColorWhite"/>
<fillField userInput="{{colorProductAttribute1.name}}"
selector="{{AdminCreateProductConfigurationsPanel.attributeName}}" stepKey="setNameWhite"/>
<click selector="{{AdminCreateProductConfigurationsPanel.saveAttribute}}" stepKey="saveWhiteColor"/>

<click selector="{{AdminCreateProductConfigurationsPanel.createNewValue}}" stepKey="addNewColorRed"/>
<fillField userInput="{{colorProductAttribute2.name}}"
selector="{{AdminCreateProductConfigurationsPanel.attributeName}}" stepKey="setNameRed"/>
<click selector="{{AdminCreateProductConfigurationsPanel.saveAttribute}}" stepKey="saveRedColor"/>

<click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="navigateToThirdStep"/>

<click selector="{{AdminCreateProductConfigurationsPanel.applySingleQuantityToEachSkus}}"
stepKey="clickOnApplySingleQuantityToEachSku"/>

<click selector="{{AdminConfigurableProductAssignSourcesSlideOut.assignSources}}"
stepKey="openSelectSourcesModalWindow1"/>
<conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}"
dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true"
stepKey="clearSourcesFilter"/>
<actionGroup ref="searchAdminDataGridByKeyword" stepKey="searchCustomSourceByNameForAssignment">
<argument name="keyword" value="$$createSource1.source[name]$$"/>
</actionGroup>
<click selector="{{AdminGridRow.checkboxByValue($$createSource1.source[name]$$)}}"
stepKey="selectCustomSource1"/>
<click selector="{{AdminConfigurableProductAssignSourcesSlideOut.done}}" stepKey="doneAssignSources1"/>
<fillField selector="{{AdminConfigurableProductAssignSourcesSlideOut.quantityPerSource('0')}}"
userInput="100" stepKey="fillQuantityForCustomSource1"/>

<click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="navigateToFourthStep"/>
<click selector="{{AdminCreateProductConfigurationsPanel.next}}"
stepKey="doneGeneratingConfigurableVariations"/>

<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveConfigurableProduct"/>
<conditionalClick selector="{{AdminChooseAffectedAttributeSetPopup.confirm}}"
dependentSelector="{{AdminChooseAffectedAttributeSetPopup.confirm}}" visible="true"
stepKey="confirmDefaultAttributeSetForConfigurableProduct"/>
<seeElement selector="{{AdminProductMessagesSection.successMessage}}" stepKey="checkProductSavedMessage"/>

<amOnPage url="{{StorefrontHomePage.url}}" stepKey="goToHomePage1"/>
<waitForPageLoad time="30" stepKey="waitForPageLoad4"/>

<fillField userInput="{{ConfigurableMsiProduct.name}}" selector="{{StorefrontQuickSearchSection.searchPhrase}}" stepKey="fillSearchBar1"/>
<waitForPageLoad time="30" stepKey="waitForPageLoad5"/>
<click selector="{{StorefrontQuickSearchSection.searchButton}}" stepKey="clickSearchButton"/>
<seeInCurrentUrl url="{{StorefrontCatalogSearchPage.url}}" stepKey="checkUrl1"/>
<seeInTitle userInput="Search results for: '{{ConfigurableMsiProduct.name}}'" stepKey="assertQuickSearchTitle1"/>
<see userInput="Search results for: '{{ConfigurableMsiProduct.name}}'" selector="{{StorefrontCatalogSearchMainSection.SearchTitle}}" stepKey="assertQuickSearchName1"/>
<see selector="{{CatalogSearchResultSection.productListBlock}}" userInput="{{ConfigurableMsiProduct.name}}" stepKey="verifyProductAppearedInSearchResults" />
</test>
</tests>
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminCatalogQuickSearchForDownloadableProductInSingleStockModeTest">
<annotations>
<stories value="Catalog Quick Search"/>
<title value="Quick Catalog Search for Downloadable Product on Single stock"/>
<description value="Quick Catalog Search for Downloadable Product on Single stock"/>
<testCaseId value="MSI-1814"/>
<severity value="MAJOR"/>
<group value="msi"/>
<group value="single_mode"/>
</annotations>

<before>
<createData entity="SimpleSubCategory" stepKey="simpleCategory1"/>

<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin1"/>
</before>
<after>
<actionGroup ref="logout" stepKey="logoutOfAdmin1"/>
</after>

<comment userInput="Create downloadable product with category and link." stepKey="createDownloadableProductComment"/>
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="adminProductIndexPageAdd"/>
<waitForPageLoad stepKey="waitForPageLoad1"/>
<actionGroup ref="goToCreateProductPage" stepKey="goToCreateProductPage">
<argument name="product" value="DownloadableProduct"/>
</actionGroup>
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{DownloadableProduct.name}}" stepKey="fillProductSku"/>
<fillField selector="{{AdminProductFormSection.productSku}}" userInput="{{DownloadableProduct.sku}}" stepKey="fillProductName"/>
<fillField selector="{{AdminProductFormSection.productPrice}}" userInput="{{DownloadableProduct.price}}" stepKey="fillProductPrice"/>

<comment userInput="Assign category to product." stepKey="assignCategoryComment"/>
<searchAndMultiSelectOption selector="{{AdminProductFormSection.categoriesDropdown}}" parameterArray="[$$simpleCategory1.name$$]" requiredAction="true" stepKey="searchAndSelectCategory"/>
<click selector="{{AdminProductDownloadableSection.sectionHeader}}" stepKey="openDownloadableSection1"/>
<waitForPageLoad stepKey="waitForPageLoad2"/>
<checkOption selector="{{AdminProductDownloadableSection.isDownloadableProduct}}" stepKey="checkIsDownloadable1"/>
<fillField userInput="{{downloadableData.link_title}}" selector="{{AdminProductDownloadableSection.linksTitleInput}}" stepKey="fillDownloadableLinkTitle1"/>
<checkOption selector="{{AdminProductDownloadableSection.isLinksPurchasedSeparately}}" stepKey="checkLinksPurchasedSeparately1"/>
<fillField userInput="{{downloadableData.sample_title}}" selector="{{AdminProductDownloadableSection.samplesTitleInput}}" stepKey="fillDownloadableSampleTitle1"/>

<click selector="{{AdminProductDownloadableSection.linksAddLinkButton}}" stepKey="clickLinkAddLinkButton1"/>
<waitForPageLoad stepKey="waitForPageLoad3"/>
<fillField userInput="{{downloadableLink.title}}" selector="{{AdminProductDownloadableSection.addLinkTitleInput('0')}}" stepKey="fillDownloadableLinkTitle2"/>
<fillField userInput="{{downloadableLink.price}}" selector="{{AdminProductDownloadableSection.addLinkPriceInput('0')}}" stepKey="fillDownloadableLinkPrice2"/>
<selectOption userInput="{{downloadableLink.file_type}}" selector="{{AdminProductDownloadableSection.addLinkFileTypeSelector('0')}}" stepKey="selectDownloadableLinkFileType2"/>
<selectOption userInput="{{downloadableLink.sample_type}}" selector="{{AdminProductDownloadableSection.addLinkSampleTypeSelector('0')}}" stepKey="selectDownloadableLinkSampleType2"/>
<selectOption userInput="{{downloadableLink.shareable}}" selector="{{AdminProductDownloadableSection.addLinkShareableSelector('0')}}" stepKey="selectDownloadableLinkShareable2"/>
<checkOption selector="{{AdminProductDownloadableSection.addLinkIsUnlimitedDownloads('0')}}" stepKey="checkDownloadableLinkUnlimited2"/>
<fillField userInput="{{downloadableLink.file}}" selector="{{AdminProductDownloadableSection.addLinkFileUrlInput('0')}}" stepKey="fillDownloadableLinkFileUrl2"/>
<attachFile userInput="{{downloadableLink.sample}}" selector="{{AdminProductDownloadableSection.addLinkSampleUploadFile('0')}}" stepKey="attachDownloadableLinkUploadSample2"/>

<fillField selector="{{AdminProductFormSection.productQuantity}}" userInput="100" stepKey="fillProductQty1"/>
<selectOption selector="{{AdminProductFormSection.productStockStatus}}" userInput="In Stock" stepKey="selectStockStatus1"/>

<actionGroup ref="AdminFormSaveAndClose" stepKey="saveAndCloseCreatedVirtualProduct"/>

<amOnPage url="{{StorefrontHomePage.url}}" stepKey="goToHomePage1"/>
<waitForPageLoad time="30" stepKey="waitForPageLoad4"/>

<fillField userInput="{{DownloadableProduct.name}}" selector="{{StorefrontQuickSearchSection.searchPhrase}}" stepKey="fillSearchBar1"/>
<waitForPageLoad time="30" stepKey="waitForPageLoad5"/>
<click selector="{{StorefrontQuickSearchSection.searchButton}}" stepKey="clickSearchButton"/>
<seeInCurrentUrl url="{{StorefrontCatalogSearchPage.url}}" stepKey="checkUrl1"/>
<seeInTitle userInput="Search results for: '{{DownloadableProduct.name}}'" stepKey="assertQuickSearchTitle1"/>
<see userInput="Search results for: '{{DownloadableProduct.name}}'" selector="{{StorefrontCatalogSearchMainSection.SearchTitle}}" stepKey="assertQuickSearchName1"/>
<see selector="{{CatalogSearchResultSection.productListBlock}}" userInput="{{DownloadableProduct.name}}" stepKey="verifyProductAppearedInSearchResults" />
</test>
</tests>
Loading