25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
1.4 KiB

  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="DeleteCustomVariableActionGroup">
  11. <annotations>
  12. <description>Goes to the Custom Variable grid page. Deletes the Custom Variable. PLEASE NOTE: The Custom Variable that is deleted is Hardcoded using 'customVariable'.</description>
  13. </annotations>
  14. <amOnPage url="{{AdminVariablesPage.url}}" stepKey="goToVarialeGrid"/>
  15. <waitForPageLoad stepKey="waitForPageLoad1"/>
  16. <click selector="{{CustomVariableSection.GridCustomVariableCode(customVariable.code)}}" stepKey="goToCustomVariableEditPage"/>
  17. <waitForPageLoad stepKey="waitForPageLoad2"/>
  18. <waitForElementVisible selector="{{CustomVariableSection.delete}}" stepKey="waitForDeleteBtn"/>
  19. <click selector="{{CustomVariableSection.delete}}" stepKey="deleteCustomVariable"/>
  20. <waitForText userInput="Are you sure you want to do this?" stepKey="waitForText"/>
  21. <click selector="{{CustomVariableSection.confirmDelete}}" stepKey="confirmDelete"/>
  22. <waitForPageLoad stepKey="waitForPageLoad3"/>
  23. </actionGroup>
  24. </actionGroups>