MagentoShippingSection.xml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
  4. <section name="MagentoShippingSection">
  5. <element name="sectionHead" type="text" selector="#carriers_temando-head"/>
  6. <element name="isClickAndCollectEnabled" type="select" selector="#carriers_temando_clickandcollect_enabled"/>
  7. <element name="isTemandoActive" type="select" selector="#carriers_temando_active"/>
  8. <element name="sessionEndpoint" type="text" selector="#carriers_temando_session_endpoint"/>
  9. <element name="accountId" type="text" selector="#carriers_temando_account_id"/>
  10. <element name="bearerToken" type="text" selector="#carriers_temando_bearer_token"/>
  11. <element name="CheckoutViewSettingsButton" type="button" selector="input#carriers_temando_checkout_view_settings"/>
  12. <element name="AdvancedSettingsButton" type="button" selector="input#carriers_temando_advanced_settings"/>
  13. <element name="GettingStartedSection" type="text" selector="#carriers_temando_getting_started" />
  14. <element name="GettingStartedLocationsButtonDisabled" type="text" selector="ol.getting-started-actions li:nth-child(1) a.disabled" />
  15. <element name="GettingStartedCarriersButtonDisabled" type="text" selector="ol.getting-started-actions li:nth-child(2) a.disabled" />
  16. <element name="GettingStartedPackagingButtonDisabled" type="text" selector="ol.getting-started-actions li:nth-child(3) a.disabled" />
  17. <element name="GettingStartedShippingExperiencesButtonDisabled" type="text" selector="ol.getting-started-actions li:nth-child(4) a.disabled" />
  18. <element name="ButtonSave" type="button" selector="#save" />
  19. <element name="CollectionPointsEnabled" type="select" selector="#carriers_temando_collectionpoints_enabled" />
  20. <element name="CollectionPointCountries" type="select" selector="#carriers_temando_collectionpoints_countries" />
  21. <element name="ClickAndCollectionEnabled" type="select" selector="#carriers_temando_clickandcollect_enabled" />
  22. </section>
  23. <section name="AdvancedSettingsSection">
  24. <element name="SyncEnabled" type="text" selector="label[for=sync_enable]" />
  25. <element name="SyncShipment" type="checkbox" selector="#sync_shipment" />
  26. <element name="ButtonSave" type="button" selector="#save" />
  27. </section>
  28. <section name="CheckoutViewSettingsSection">
  29. <element name="AddressType" type="checkbox" selector="#showAddressTypeField-form--checkoutFields" />
  30. <element name="AuthorityToLeave" type="checkbox" selector="#showAuthorityToLeaveField-form--checkoutFields" />
  31. <element name="SignatureRequired" type="checkbox" selector="#showSignatureRequiredField-form--checkoutFields" />
  32. <element name="DropdownLabel" type="text" selector="//input[@name='addressTypeLabel']" />
  33. <element name="DropdownOptions" type="select" selector="#addressTypeOptions-form--checkoutFields" />
  34. <element name="DefaultValue" type="select" selector="#addressTypeDefaultValue-form--checkoutFields" />
  35. <element name="AuthorityToLeaveCheckboxLabel" type="input" selector="#authorityToLeaveLabel-form--checkoutFields" />
  36. <element name="SignatureRequiredCheckboxLabel" type="input" selector="#signatureRequiredLabel-form--checkoutFields" />
  37. </section>
  38. </sections>