ChangeAllSourcesStatusActionGroup.xml 1.6 KB

1234567891011121314151617181920212223242526
  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. <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
  10. <actionGroup name="ChangeAllSourcesStatusActionGroup">
  11. <arguments>
  12. <argument name="Status" defaultValue="AdminManageSourcesGridMassAction.changeStatusDisableButton"/>
  13. </arguments>
  14. <comment userInput="Disable all sources, except Default" stepKey="basicComment"/>
  15. <amOnPage url="{{AdminManageSourcePage.url}}" stepKey="amOnTheManageSourcePage"/>
  16. <waitForPageLoad time="30" stepKey="waitForAdminManageSourcePageLoad"/>
  17. <conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clearFilters"/>
  18. <waitForLoadingMaskToDisappear stepKey="waitFilterCleared"/>
  19. <click selector="{{AdminProductGridSection.multicheckDropdown}}" stepKey="openMulticheckDropdown"/>
  20. <click selector="{{AdminProductGridSection.multicheckOption('Select All')}}" stepKey="selectAllSources"/>
  21. <click selector="{{AdminManageSourcesGridMassAction.actionsButton}}" stepKey="clickActionsButton"/>
  22. <click selector="{{AdminManageSourcesGridMassAction.changeStatusButton}}" stepKey="clickChangeStatus"/>
  23. <click selector="{{Status}}" stepKey="clickDisable"/>
  24. <waitForPageLoad stepKey="waitForStatusSaved"/>
  25. </actionGroup>
  26. </actionGroups>