<?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="ContentManagementSection">
        <element name="WYSIWYGOptions" type="button" selector="#cms_wysiwyg-head" timeout="60"/>
        <element name="CheckIfTabExpand" type="button" selector="#cms_wysiwyg-head:not(.open)"/>
        <element name="EnableSystemValue" type="button" selector="#cms_wysiwyg_enabled_inherit"/>
        <element name="EnableWYSIWYG" type="button" selector="#cms_wysiwyg_enabled"/>
        <element name="SwitcherSystemValue" type="button" selector="#cms_wysiwyg_editor_inherit" timeout="60"/>
        <element name="Switcher" type="button" selector="#cms_wysiwyg_editor" />
        <element name="StaticURL" type="button" selector="#cms_wysiwyg_use_static_urls_in_catalog" />
        <element name="Save" type="button" selector="#save" timeout="30"/>
        <element name="StoreConfigurationPageSuccessMessage" type="text" selector="#messages [data-ui-id='messages-message-success']"/>
    </section>
    <section name="WebSection">
        <element name="DefaultLayoutsTab" type="button" selector="#web_default_layouts-head"/>
        <element name="CheckIfTabExpand" type="button" selector="#web_default_layouts-head:not(.open)"/>
        <element name="UrlOptionsTab" type="button" selector="#web_url-head"/>
        <element name="CheckIfUrlOptionsTabExpand" type="button" selector="#web_url-head:not(.open)"/>
    </section>
    <section name="DefaultLayoutsSection">
        <element name="productLayout" type="select" selector="#web_default_layouts_default_product_layout"/>
        <element name="categoryLayout" type="select" selector="#web_default_layouts_default_category_layout"/>
        <element name="pageLayout" type="select" selector="#web_default_layouts_default_cms_layout"/>
    </section>
    <section name="UrlOptionsSection">
        <element name="addStoreCodeToUrl" type="select" selector="#web_url_use_store"/>
        <element name="systemValueForStoreCode" type="checkbox" selector="#web_url_use_store_inherit"/>
    </section>
    <section name="CountryOptionsSection">
        <element name="countryOptions" type="button" selector="#general_country-head"/>
        <element name="countryOptionsOpen" type="button" selector="#general_country-head.open"/>
        <element name="topDestinations" type="select" selector="#general_country_destinations"/>
    </section>
    <section name="StateOptionsSection">
        <element name="stateOptions" type="button" selector="#general_region-head"/>
        <element name="countriesWithRequiredRegions" type="select" selector="#general_region_state_required"/>
        <element name="allowToChooseState" type="select" selector="general_region_display_all"/>
    </section>
</sections>
