<?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="AdminProductNewVideoSection">
        <element name="saveButton" type="button" selector=".action-primary.video-create-button" timeout="30"/>
        <element name="saveButtonDisabled" type="text" selector="//button[@class='action-primary video-create-button' and @disabled='disabled']"/>
        <element name="cancelButton" type="button" selector=".video-cancel-button" timeout="30"/>
        <element name="getVideoInformationButton" type="button" selector="#new_video_get"/>
        <element name="videoUrlTextField" type="input" selector="#video_url"/>
        <element name="videoTitleTextField" type="input" selector="#video_title"/>
        <element name="videoDescriptionTextField" type="input" selector="#video_description"/>
        <element name="baseCheckbox" type="checkbox" selector="#video_image"/>
        <element name="smallCheckbox" type="checkbox" selector="#video_small_image"/>
        <element name="swatchCheckbox" type="checkbox" selector="#video_swatch_image"/>
        <element name="thumbnailCheckbox" type="checkbox" selector="#video_thumbnail"/>
        <element name="hideFromProductPageCheckbox" type="checkbox" selector="#new_video_disabled"/>
        <element name="errorElement" type="text" selector="#{{inputName}}-error" parameterized="true" />
        <element name="previewImageUploader" type="file" selector=".field-new_video_screenshot #new_video_screenshot"/>
    </section>
</sections>
