| Current Path : /home/rtorresani/www/vendor/magento/module-cms/Test/Mftf/ActionGroup/ |
| Current File : //home/rtorresani/www/vendor/magento/module-cms/Test/Mftf/ActionGroup/SaveCmsPageActionGroup.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="SaveCmsPageActionGroup">
<annotations>
<description>Clicks on the Save button. Validates that the Success Message is present.</description>
</annotations>
<waitForElementVisible selector="{{CmsNewPagePageActionsSection.expandSplitButton}}" stepKey="waitForSplitButton"/>
<click selector="{{CmsNewPagePageActionsSection.expandSplitButton}}" stepKey="expandSplitButton"/>
<waitForElementVisible selector="{{CmsNewPagePageActionsSection.savePage}}" stepKey="waitForSaveCmsPage"/>
<click selector="{{CmsNewPagePageActionsSection.savePage}}" stepKey="clickSaveCmsPage"/>
<waitForElementVisible time="1" selector="{{CmsPagesPageActionsSection.addNewPageButton}}" stepKey="waitForCmsPageSaveButton"/>
<dontSee selector="{{CmsPagesPageActionsSection.savePageWarningMessage}}" stepKey="dontSeeWarningMessage"/>
<see userInput="You saved the page." selector="{{CmsPagesPageActionsSection.savePageSuccessMessage}}" stepKey="assertSavePageSuccessMessage"/>
</actionGroup>
</actionGroups>