| Current Path : /home/rtorresani/www/vendor/magento/module-cms/Test/Mftf/ActionGroup/ |
| Current File : //home/rtorresani/www/vendor/magento/module-cms/Test/Mftf/ActionGroup/SetLayoutActionGroup.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="SetLayoutActionGroup">
<annotations>
<description>Sets the provided option for 'Layout', under 'Design' on the Page creation/edit page. </description>
</annotations>
<arguments>
<argument name="designSection"/>
<argument name="layoutOption"/>
</arguments>
<waitForElementVisible selector="{{designSection.DesignTab}}" stepKey="waitForDesignTabVisible"/>
<conditionalClick selector="{{designSection.DesignTab}}" dependentSelector="{{designSection.LayoutDropdown}}" visible="false" stepKey="clickOnDesignTab"/>
<waitForPageLoad stepKey="waitForPageLoadDesignTab"/>
<waitForElementVisible selector="{{designSection.LayoutDropdown}}" stepKey="waitForLayoutDropDown"/>
<selectOption selector="{{designSection.LayoutDropdown}}" userInput="{{layoutOption}}" stepKey="selectLayout"/>
</actionGroup>
</actionGroups>