| Current Path : /home/rtorresani/www/vendor/magento/module-cms/Test/Mftf/ActionGroup/ |
| Current File : //home/rtorresani/www/vendor/magento/module-cms/Test/Mftf/ActionGroup/DeleteCMSBlockActionGroup.xml |
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="DeleteCMSBlockActionGroup">
<annotations>
<description>Goes to the Admin CMS Blocks page. Deletes the '_defaultBlock' Block. Validates that the Success Message is present and correct. PLEASE NOTE: The Block that is deleted it Hardcoded.</description>
</annotations>
<amOnPage url="{{CmsBlocksPage.url}}" stepKey="navigateToCMSPagesGrid"/>
<waitForPageLoad stepKey="waitForPageLoad"/>
<click selector="{{CmsPagesPageActionsSection.select(_defaultBlock.title)}}" stepKey="ClickOnSelect"/>
<click selector="{{CmsPagesPageActionsSection.delete(_defaultBlock.title)}}" stepKey="ClickOnEdit"/>
<waitForPageLoad stepKey="waitForPageLoad3"/>
<click selector="{{CmsPagesPageActionsSection.deleteConfirm}}" stepKey="ClickToConfirm"/>
<waitForPageLoad stepKey="waitForPageLoad4"/>
<see userInput="You deleted the block." stepKey="VerifyBlockIsDeleted"/>
</actionGroup>
</actionGroups>