Viewing File: /home/maglabs/it/app/code/Magento/Wishlist/Test/Mftf/Section/StorefrontCustomerWishlistSection.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
<section name="StorefrontCustomerWishlistSection">
<element name="pageTitle" type="text" selector="h1.page-title"/>
<element name="successMsg" type="text" selector="div.message-success.success.message"/>
<element name="productItemNameText" type="text" selector=".products-grid .product-item-name a"/>
<element name="productLinkByProductName" type="text" selector="//a[contains(text(), '{{prodName}}') and contains(@class,'product-item-link')]" parameterized="true" timeout="30"/>
<element name="removeWishlistButton" type="button" selector="//main//li[.//a[contains(text(), '{{prodName}}')]]//a[@data-role='remove']" parameterized="true" timeout="30"/>
<element name="emptyWishlistText" type="text" selector=".message.info.empty>span"/>
<element name="wishListProductName" type="text" selector=".products-grid li:nth-child({{prodName}}) .product-item-name a" parameterized="true" timeout="30"/>
</section>
</sections>
Back to Directory
File Manager