<?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="AdminAdobeStockFilterSection">
        <element name="filters" type="button" selector=".adobe-stock-images-search-modal-content button[data-action='grid-filter-expand']"/>
        <element name="colorFilter" type="input" selector="//*[@id='adobe-stock-images-search-modal']//input[@name='colors_filter']"/>
        <element name="colorButton" type="button" selector="//*[@id='adobe-stock-images-search-modal']//div[@class='sp-preview']"/>
        <element name="colorApply" type="button" selector="//*[@id='html-body']//div[@class='sp-picker-container']//button[@class='sp-choose']"/>
        <element name="selectColor" type="button" selector="//*[@id='html-body']//span[@title='{{color}}']" parameterized="true"/>
        <element name="applyFilters" type="button" selector=".adobe-stock-images-search-modal-content button[data-action='grid-filter-apply']" timeout="30"/>
        <element name="cancelFilters" type="button" selector=".adobe-stock-images-search-modal-content button[data-action='grid-filter-cancel']" timeout="30"/>
        <element name="clearAll" type="button" selector=".adobe-stock-images-search-modal-content button[data-action='grid-filter-reset']" timeout="30"/>
        <element name="filterType" type="text" selector="//div[@class='adobe-stock-images-search-modal-content']//span[text()='{{filterName}}']" parameterized="true"/>
        <element name="emptyText" type="button" selector="//*[@id='adobe-stock-images-search-modal']//div[@class='no-data-message-container']//span" timeout="30"/>
        <element name="orientationFilter" type="select" selector="//select[@name='orientation_filter']"/>
        <element name="premiumPriceFilter" type="select" selector="//select[@name='premium_price_filter']"/>
        <element name="filterByType" type="select" selector="//select[@name='content_type_filter']"/>
        <element name="filterOption" type="button" selector="//select[@name='{{filter}}']/option[@data-title='{{type}}']" parameterized="true"/>
        <element name="activeFilter" type="text" selector="//*[@id='adobe-stock-images-search-modal']//div[@class='admin__current-filters-list-wrap']//span[contains( ., '{{filter}}')]" parameterized="true"/>
        <element name="safeSearchFilterCheckbox" type="select" selector="//*[@id='adobe-stock-images-search-modal']//input[@name='offensive_filter']"/>
        <element name="isolatedFilterCheckbox" type="select" selector="//*[@id='adobe-stock-images-search-modal']//input[@name='isolated_filter']"/>
    </section>
</sections>
