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 =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" >
10+ <actionGroup name =" CreateNewPageWithAllValues" >
11+ <arguments >
12+ <argument name =" PageTitle" type =" string" />
13+ <argument name =" ContentHeading" type =" string" />
14+ <argument name =" URLKey" type =" string" />
15+ <argument name =" selectStoreViewOpt" type =" string" />
16+ <argument name =" selectHierarchyOpt" type =" string" />
17+ </arguments >
18+ <amOnPage url =" {{CmsNewPagePage.url}}" stepKey =" amOnCMSNewPage" />
19+ <waitForPageLoad stepKey =" waitForPageLoad1" />
20+ <fillField selector =" {{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput =" {{PageTitle}}" stepKey =" fillFieldTitle" />
21+ <click selector =" {{CmsNewPagePageContentSection.header}}" stepKey =" clickExpandContent" />
22+ <fillField selector =" {{CmsNewPagePageContentSection.contentHeading}}" userInput =" {{ContentHeading}}" stepKey =" fillFieldContentHeading" />
23+ <click selector =" {{CmsNewPagePageSeoSection.header}}" stepKey =" clickExpandSearchEngineOptimization" />
24+ <fillField selector =" {{CmsNewPagePageSeoSection.urlKey}}" userInput =" {{URLKey}}" stepKey =" fillFieldURLKey" />
25+ <click selector =" {{CmsNewPagePiwSection.header}}" stepKey =" clickPageInWebsites" />
26+ <waitForElementVisible selector =" {{CmsNewPagePiwSection.selectStoreView(selectStoreViewOpt)}}" stepKey =" waitForStoreGridReload" />
27+ <clickWithLeftButton selector =" {{CmsNewPagePiwSection.selectStoreView(selectStoreViewOpt)}}" stepKey =" clickStoreView2" />
28+ <click selector =" {{CmsNewPageHierarchySection.header}}" stepKey =" clickHierarchy" />
29+ <click selector =" {{CmsNewPageHierarchySection.selectHierarchy(selectHierarchyOpt)}}" stepKey =" clickPageCheckBoxes" />
30+ </actionGroup >
31+ </actionGroups >
0 commit comments