| Current Path : /home/rtorresani/www/vendor/magento/module-cms/Test/Mftf/ActionGroup/ |
| Current File : //home/rtorresani/www/vendor/magento/module-cms/Test/Mftf/ActionGroup/SaveCMSBlockActionGroup.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="SaveCMSBlockActionGroup">
<annotations>
<description>Clicks on the Save button. Validates that the Save message is present and correct. PLEASE NOTE: The message is Hardcoded.</description>
</annotations>
<waitForElementVisible selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="waitForSaveButton"/>
<click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="clickSaveButton"/>
<waitForPageLoad stepKey="waitForPageLoad"/>
<dontSee selector="{{BlockPageActionsSection.saveBlockWarningMessage}}" stepKey="dontSeeWarningMessage"/>
<see userInput="You saved the block." stepKey="seeSuccessfulSaveMessage"/>
</actionGroup>
</actionGroups>