File tree Expand file tree Collapse file tree 6 files changed +11
-2
lines changed
Checkout/Test/Mftf/ActionGroup
ConfigurableProduct/Test/Mftf/Test Expand file tree Collapse file tree 6 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 3535
3636 <click selector =" {{AdminMenuSection.stores}}" stepKey =" clickStoresMenuOption1" />
3737 <waitForLoadingMaskToDisappear stepKey =" waitForStoresMenu1" />
38+ <waitForElementVisible selector =" {{AdminMenuSection.configuration}}" stepKey =" waitForConfigurationVisible1" />
3839 <click selector =" {{AdminMenuSection.configuration}}" stepKey =" clickStoresConfigurationMenuOption1" />
3940 <waitForPageLoad stepKey =" waitForConfigurationPageLoad1" />
4041 <seeCurrentUrlMatches regex =" ~\/admin\/system_config\/~" stepKey =" seeCurrentUrlMatchesConfigPath1" />
4142
4243 <click selector =" {{AdminMenuSection.catalog}}" stepKey =" clickCatalogMenuOption" />
4344 <waitForLoadingMaskToDisappear stepKey =" waitForCatalogMenu1" />
45+ <waitForElementVisible selector =" {{AdminMenuSection.catalogProducts}}" stepKey =" waitForCatalogProductsVisible" />
4446 <click selector =" {{AdminMenuSection.catalogProducts}}" stepKey =" clickCatalogProductsMenuOption" />
4547 <waitForPageLoad stepKey =" waitForProductsPageLoad" />
4648 <seeCurrentUrlMatches regex =" ~\/catalog\/product\/~" stepKey =" seeCurrentUrlMatchesProductsPath" />
4749
4850 <click selector =" {{AdminMenuSection.stores}}" stepKey =" clickStoresMenuOption2" />
4951 <waitForLoadingMaskToDisappear stepKey =" waitForStoresMenu2" />
52+ <waitForElementVisible selector =" {{AdminMenuSection.configuration}}" stepKey =" waitForConfigurationVisible2" />
5053 <click selector =" {{AdminMenuSection.configuration}}" stepKey =" clickStoresConfigurationMenuOption2" />
5154 <waitForPageLoad stepKey =" waitForConfigurationPageLoad2" />
5255 <seeCurrentUrlMatches regex =" ~\/admin\/system_config\/~" stepKey =" seeCurrentUrlMatchesConfigPath2" />
Original file line number Diff line number Diff line change 2626 <waitForText userInput =" {{checkQuantity}}" selector =" {{StorefrontMinicartSection.productCount}}" time =" 30" stepKey =" assertProductCount" />
2727 <conditionalClick selector =" {{StorefrontMinicartSection.showCart}}" dependentSelector =" {{StorefrontMinicartSection.miniCartOpened}}" visible =" false" stepKey =" openMiniCart" />
2828 <waitForElementVisible selector =" {{StorefrontMinicartSection.viewAndEditCart}}" stepKey =" waitForViewAndEditCartVisible" />
29+ <doubleClick selector =" {{StorefrontMinicartSection.itemQuantity(product.name)}}" stepKey =" doubleClickOnQtyInput" />
30+ <pressKey selector =" {{StorefrontMinicartSection.itemQuantity(product.name)}}" parameterArray =" [\Facebook\WebDriver\WebDriverKeys::DELETE]" stepKey =" clearQty" />
2931 <fillField selector =" {{StorefrontMinicartSection.itemQuantity(product.name)}}" userInput =" {{quantity}}" stepKey =" setProductQtyToFiftyInMiniCart" />
3032 <click selector =" {{StorefrontMinicartSection.itemQuantityUpdate(product.name)}}" stepKey =" updateQtyInMiniCart" />
3133 </actionGroup >
Original file line number Diff line number Diff line change 2828 <after >
2929 <deleteData createDataKey =" firstCMSPage" stepKey =" deleteFirstCMSPage" />
3030 <deleteData createDataKey =" secondCMSPage" stepKey =" deleteSecondCMSPage" />
31+ <actionGroup ref =" AdminOpenCMSPagesGridActionGroup" stepKey =" navigateToCMSPageGrid" />
32+ <actionGroup ref =" AdminGridFilterResetActionGroup" stepKey =" clearPossibleGridFilters" />
3133 <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
3234 </after >
3335
Original file line number Diff line number Diff line change 102102 <actionGroup ref =" NavigateToCreatedCMSPageActionGroup" stepKey =" navigateToCreatedCMSPage2" >
103103 <argument name =" CMSPage" value =" $$createCMSPage$$" />
104104 </actionGroup >
105+ <scrollTo stepKey =" scrollToContent" selector =" {{CmsNewPagePageContentSection.header}}" x =" 0" y =" -80" />
105106 <conditionalClick selector =" {{CmsNewPagePageContentSection.header}}"
106107 dependentSelector =" {{CmsNewPagePageContentSection.header}}._show" visible =" false"
107108 stepKey =" clickContentTab2" />
Original file line number Diff line number Diff line change 135135 <click selector =" {{AdminOrderFormConfigureProductSection.configure($$createConfigProduct.id$$)}}" stepKey =" clickOnConfigure" />
136136 <!-- Click on attribute drop-down and check no option 1 is available -->
137137 <comment userInput =" Click on attribute drop-down and check no option 1 is available" stepKey =" commentNoOptionIsAvailable" />
138- <waitForElement selector =" {{AdminOrderFormConfigureProductSection.selectOption}}" stepKey =" waitForShippingSectionLoaded" />
138+ <waitForPageLoad stepKey =" waitForConfigure" />
139+ <waitForElementVisible selector =" {{AdminOrderFormConfigureProductSection.selectOption}}" stepKey =" waitForShippingSectionLoaded" />
139140 <click selector =" {{AdminOrderFormConfigureProductSection.selectOption}}" stepKey =" clickToSelectOption" />
140141 <dontSee userInput =" $$createConfigProductAttributeOption1.option[store_labels][1][label]$$" stepKey =" dontSeeOption1" />
141142 <!-- Go to created customer page again -->
Original file line number Diff line number Diff line change 99<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
1010 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
1111 <section name =" SalesOrderPrintSection" >
12- <element name =" isOrderPrintPage" type =" block" selector =" . preview-area " />
12+ <element name =" isOrderPrintPage" type =" block" selector =" print- preview-app " />
1313 </section >
1414</sections >
You can’t perform that action at this time.
0 commit comments