File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Bundle/Test/Mftf/ActionGroup
Shipping/Test/Mftf/Section Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 16
16
</arguments >
17
17
<moveMouseOver selector =" {{StorefrontCategoryProductSection.ProductInfoByName(product.name)}}" stepKey =" moveMouseOverProduct" />
18
18
<click selector =" {{StorefrontCategoryProductSection.ProductAddToCartByName(product.name)}}" stepKey =" clickAddToCart" />
19
- <waitForElementVisible selector = " {{StorefrontBundleProductActionSection.customizeAndAddToCartButton}} " stepKey =" waitForBundleProductPageLoad " />
19
+ <waitForPageLoad time = " 30 " stepKey =" waitForPageLoad1 " />
20
20
<click selector =" {{StorefrontBundleProductActionSection.customizeAndAddToCartButton}}" stepKey =" clickCustomizeAndAddToCart" />
21
- <waitForElementVisible selector = " {{StorefrontBundleProductActionSection.quantityField}} " stepKey =" waitForQuantityVisible " />
21
+ <waitForPageLoad time = " 30 " stepKey =" waitForPageLoad2 " />
22
22
<fillField selector =" {{StorefrontBundleProductActionSection.quantityField}}" userInput =" {{quantity}}" stepKey =" fillBundleProductQuantity" />
23
23
<click selector =" {{StorefrontBundleProductActionSection.addToCartButton}}" stepKey =" clickAddBundleProductToCart" />
24
- <waitForElement selector = " {{StorefrontMessagesSection.messageProductAddedToCart(product.name)}} " time =" 30" stepKey =" assertMessage " />
24
+ <waitForPageLoad time =" 30" stepKey =" waitForPageLoad3 " />
25
25
<waitForText userInput =" {{quantity}}" selector =" {{StorefrontMinicartSection.productCount}}" time =" 30" stepKey =" assertProductCount" />
26
26
</actionGroup >
27
27
</actionGroups >
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 =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" >
11
11
<section name =" AdminShipmentItemsSection" >
12
- <element name =" itemName" type =" text" selector =" .order-shipment-table tbody:nth-of-type({{row }}) .col-product .product-title" parameterized =" true" />
13
- <element name =" itemSku" type =" text" selector =" .order-shipment-table tbody:nth-of-type({{row }}) .col-product .product-sku-block" parameterized =" true" />
14
- <element name =" itemQty" type =" text" selector =" .order-shipment-table tbody:nth-of-type({{row }}) .col-ordered-qty .qty-table" parameterized =" true" />
15
- <element name =" itemQtyToShip" type =" input" selector =" .order-shipment-table tbody:nth-of-type({{row }}) .col-qty input.qty-item" />
12
+ <element name =" itemName" type =" text" selector =" .order-shipment-table tbody:nth-of-type({{var1 }}) .col-product .product-title" parameterized =" true" />
13
+ <element name =" itemSku" type =" text" selector =" .order-shipment-table tbody:nth-of-type({{var1 }}) .col-product .product-sku-block" parameterized =" true" />
14
+ <element name =" itemQty" type =" text" selector =" .order-shipment-table tbody:nth-of-type({{var1 }}) .col-ordered-qty .qty-table" parameterized =" true" />
15
+ <element name =" itemQtyToShip" type =" input" selector =" .order-shipment-table tbody:nth-of-type({{var1 }}) .col-qty input.qty-item" parameterized = " true " />
16
16
<element name =" nameColumn" type =" text" selector =" .order-shipment-table .col-product .product-title" />
17
17
<element name =" skuColumn" type =" text" selector =" .order-shipment-table .col-product .product-sku-block" />
18
18
</section >
Original file line number Diff line number Diff line change 10
10
xsi : noNamespaceSchemaLocation =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" >
11
11
<actionGroup name =" adminDataGridSelectPerPage" >
12
12
<arguments >
13
- <argument name =" perPage" />
13
+ <argument name =" perPage" type = " string " />
14
14
</arguments >
15
15
<click selector =" {{AdminDataGridPaginationSection.perPageDropdown}}" stepKey =" clickPerPageDropdown" />
16
16
<click selector =" {{AdminDataGridPaginationSection.perPageOption(perPage)}}" stepKey =" selectCustomPerPage" />
Original file line number Diff line number Diff line change 10
10
xsi : noNamespaceSchemaLocation =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" >
11
11
<section name =" AdminDataGridPaginationSection" >
12
12
<element name =" perPageDropdown" type =" select" selector =" .admin__data-grid-pager-wrap .selectmenu" />
13
- <element name =" perPageOption" type =" button" selector =" //div[@class='admin__data-grid-pager-wrap']//div[@class='selectmenu-items _active']//li//button[text()='{{label }}']" parameterized =" true" />
13
+ <element name =" perPageOption" type =" button" selector =" //div[@class='admin__data-grid-pager-wrap']//div[@class='selectmenu-items _active']//li//button[text()='{{var1 }}']" parameterized =" true" />
14
14
<element name =" perPageInput" type =" input" selector =" //div[@class='admin__data-grid-pager-wrap']//div[@class='selectmenu-items _active']//li//div[@class='selectmenu-item-edit']//input" />
15
15
<element name =" perPageApplyInput" type =" button" selector =" //div[@class='admin__data-grid-pager-wrap']//div[@class='selectmenu-items _active']//li//div[@class='selectmenu-item-edit']//button" />
16
16
<element name =" nextPage" type =" button" selector =" div.admin__data-grid-pager > button.action-next" timeout =" 30" />
You can’t perform that action at this time.
0 commit comments