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 35
35
36
36
<click selector =" {{AdminMenuSection.stores}}" stepKey =" clickStoresMenuOption1" />
37
37
<waitForLoadingMaskToDisappear stepKey =" waitForStoresMenu1" />
38
+ <waitForElementVisible selector =" {{AdminMenuSection.configuration}}" stepKey =" waitForConfigurationVisible1" />
38
39
<click selector =" {{AdminMenuSection.configuration}}" stepKey =" clickStoresConfigurationMenuOption1" />
39
40
<waitForPageLoad stepKey =" waitForConfigurationPageLoad1" />
40
41
<seeCurrentUrlMatches regex =" ~\/admin\/system_config\/~" stepKey =" seeCurrentUrlMatchesConfigPath1" />
41
42
42
43
<click selector =" {{AdminMenuSection.catalog}}" stepKey =" clickCatalogMenuOption" />
43
44
<waitForLoadingMaskToDisappear stepKey =" waitForCatalogMenu1" />
45
+ <waitForElementVisible selector =" {{AdminMenuSection.catalogProducts}}" stepKey =" waitForCatalogProductsVisible" />
44
46
<click selector =" {{AdminMenuSection.catalogProducts}}" stepKey =" clickCatalogProductsMenuOption" />
45
47
<waitForPageLoad stepKey =" waitForProductsPageLoad" />
46
48
<seeCurrentUrlMatches regex =" ~\/catalog\/product\/~" stepKey =" seeCurrentUrlMatchesProductsPath" />
47
49
48
50
<click selector =" {{AdminMenuSection.stores}}" stepKey =" clickStoresMenuOption2" />
49
51
<waitForLoadingMaskToDisappear stepKey =" waitForStoresMenu2" />
52
+ <waitForElementVisible selector =" {{AdminMenuSection.configuration}}" stepKey =" waitForConfigurationVisible2" />
50
53
<click selector =" {{AdminMenuSection.configuration}}" stepKey =" clickStoresConfigurationMenuOption2" />
51
54
<waitForPageLoad stepKey =" waitForConfigurationPageLoad2" />
52
55
<seeCurrentUrlMatches regex =" ~\/admin\/system_config\/~" stepKey =" seeCurrentUrlMatchesConfigPath2" />
Original file line number Diff line number Diff line change 26
26
<waitForText userInput =" {{checkQuantity}}" selector =" {{StorefrontMinicartSection.productCount}}" time =" 30" stepKey =" assertProductCount" />
27
27
<conditionalClick selector =" {{StorefrontMinicartSection.showCart}}" dependentSelector =" {{StorefrontMinicartSection.miniCartOpened}}" visible =" false" stepKey =" openMiniCart" />
28
28
<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" />
29
31
<fillField selector =" {{StorefrontMinicartSection.itemQuantity(product.name)}}" userInput =" {{quantity}}" stepKey =" setProductQtyToFiftyInMiniCart" />
30
32
<click selector =" {{StorefrontMinicartSection.itemQuantityUpdate(product.name)}}" stepKey =" updateQtyInMiniCart" />
31
33
</actionGroup >
Original file line number Diff line number Diff line change 28
28
<after >
29
29
<deleteData createDataKey =" firstCMSPage" stepKey =" deleteFirstCMSPage" />
30
30
<deleteData createDataKey =" secondCMSPage" stepKey =" deleteSecondCMSPage" />
31
+ <actionGroup ref =" AdminOpenCMSPagesGridActionGroup" stepKey =" navigateToCMSPageGrid" />
32
+ <actionGroup ref =" AdminGridFilterResetActionGroup" stepKey =" clearPossibleGridFilters" />
31
33
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
32
34
</after >
33
35
Original file line number Diff line number Diff line change 102
102
<actionGroup ref =" NavigateToCreatedCMSPageActionGroup" stepKey =" navigateToCreatedCMSPage2" >
103
103
<argument name =" CMSPage" value =" $$createCMSPage$$" />
104
104
</actionGroup >
105
+ <scrollTo stepKey =" scrollToContent" selector =" {{CmsNewPagePageContentSection.header}}" x =" 0" y =" -80" />
105
106
<conditionalClick selector =" {{CmsNewPagePageContentSection.header}}"
106
107
dependentSelector =" {{CmsNewPagePageContentSection.header}}._show" visible =" false"
107
108
stepKey =" clickContentTab2" />
Original file line number Diff line number Diff line change 135
135
<click selector =" {{AdminOrderFormConfigureProductSection.configure($$createConfigProduct.id$$)}}" stepKey =" clickOnConfigure" />
136
136
<!-- Click on attribute drop-down and check no option 1 is available -->
137
137
<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" />
139
140
<click selector =" {{AdminOrderFormConfigureProductSection.selectOption}}" stepKey =" clickToSelectOption" />
140
141
<dontSee userInput =" $$createConfigProductAttributeOption1.option[store_labels][1][label]$$" stepKey =" dontSeeOption1" />
141
142
<!-- Go to created customer page again -->
Original file line number Diff line number Diff line change 9
9
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
11
<section name =" SalesOrderPrintSection" >
12
- <element name =" isOrderPrintPage" type =" block" selector =" . preview-area " />
12
+ <element name =" isOrderPrintPage" type =" block" selector =" print- preview-app " />
13
13
</section >
14
14
</sections >
You can’t perform that action at this time.
0 commit comments