File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed
dev/tests/acceptance/tests
functional/Magento/FunctionalTest/Cms/ActionGroup Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
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 =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" >
10
+ <actionGroup name =" NavigateToMediaFolderActionGroup" >
11
+ <arguments >
12
+ <argument name =" FolderName" type =" string" defaultValue =" " />
13
+ </arguments >
14
+ <conditionalClick selector =" {{MediaGallerySection.StorageRootArrow}}" dependentSelector =" {{MediaGallerySection.checkIfArrowExpand}}" stepKey =" clickArrowIfClosed" visible =" true" />
15
+ <conditionalClick selector =" {{MediaGallerySection.WysiwygArrow}}" dependentSelector =" {{MediaGallerySection.checkIfWysiwygArrowExpand}}" stepKey =" clickWysiwygArrowIfClosed" visible =" true" />
16
+ <waitForText userInput =" {{FolderName}}" stepKey =" waitForNewFolder" />
17
+ <click userInput =" {{FolderName}}" stepKey =" clickOnCreatedFolder" />
18
+ <waitForLoadingMaskToDisappear stepKey =" waitForLoading5" />
19
+ </actionGroup >
20
+ </actionGroups >
Original file line number Diff line number Diff line change
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 =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" >
10
+ <actionGroup name =" NavigateToMediaFolderActionGroup" >
11
+ <arguments >
12
+ <argument name =" FolderName" type =" string" defaultValue =" " />
13
+ </arguments >
14
+ <conditionalClick selector =" {{MediaGallerySection.StorageRootArrow}}" dependentSelector =" {{MediaGallerySection.checkIfArrowExpand}}" stepKey =" clickArrowIfClosed" visible =" true" />
15
+ <conditionalClick selector =" {{MediaGallerySection.WysiwygArrow}}" dependentSelector =" {{MediaGallerySection.checkIfWysiwygArrowExpand}}" stepKey =" clickWysiwygArrowIfClosed" visible =" true" />
16
+ <waitForText userInput =" {{FolderName}}" stepKey =" waitForNewFolder" />
17
+ <click userInput =" {{FolderName}}" stepKey =" clickOnCreatedFolder" />
18
+ <waitForLoadingMaskToDisappear stepKey =" waitForLoading5" />
19
+ </actionGroup >
20
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments