AdminManageStockFormSection.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
  10. <section name="AdminEditStockActionsSection">
  11. <element name="backButton" type="button" selector="#back" timeout="30"/>
  12. <element name="delete" type="button" selector="#delete" timeout="30"/>
  13. <element name="resetButton" type="button" selector="#reset" timeout="30"/>
  14. <element name="saveButton" type="button" selector="#save" timeout="30"/>
  15. </section>
  16. <section name="AdminEditStockActionModalSection">
  17. <element name="cancel" type="button" selector=".modal-popup.confirm button.action-dismiss"/>
  18. <element name="ok" type="button" selector=".modal-popup.confirm button.action-accept" timeout="60"/>
  19. </section>
  20. <section name="AdminEditStockGeneralSection">
  21. <element name="name" type="input" selector=".admin__control-text[name='general[name]']"/>
  22. </section>
  23. <section name="AdminEditStockSalesChannelsSection">
  24. <element name="websites" type="select" selector="select[name='sales_channels[website]']"/>
  25. </section>
  26. <section name="AdminEditStockSourcesSection">
  27. <element name="assignSources" type="button" selector="button[data-index='assign_sources_button']" timeout="30"/>
  28. <element name="rowSourceDrag" type="block" selector=".data-row[data-repeat-index='{{arg1}}'] .draggable-handle" parameterized="true"/>
  29. <element name="rowSourceCode" type="text" selector=".data-row[data-repeat-index='{{arg1}}'] span[data-index='code']" parameterized="true"/>
  30. <element name="rowSourceName" type="text" selector=".data-row[data-repeat-index='{{arg1}}'] span[data-index='name']" parameterized="true"/>
  31. <element name="rowSourceDelete" type="button" selector=".data-row[data-repeat-index='{{arg1}}'] .action-delete" parameterized="true"/>
  32. </section>
  33. </sections>