File tree 4 files changed +39
-3
lines changed
app/code/Magento/Cms/Test/Mftf 4 files changed +39
-3
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
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminDisableWYSIWYGActionGroup" >
12
+ <annotations >
13
+ <description >Runs bin/magento command to disable WYSIWYG</description >
14
+ </annotations >
15
+
16
+ <magentoCLI stepKey =" disableWYSIWYG" command =" config:set cms/wysiwyg/enabled disabled" />
17
+ </actionGroup >
18
+ </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
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminEnableWYSIWYGActionGroup" >
12
+ <annotations >
13
+ <description >Runs bin/magento command to enable WYSIWYG</description >
14
+ </annotations >
15
+
16
+ <magentoCLI stepKey =" enableWYSIWYG" command =" config:set cms/wysiwyg/enabled enabled" />
17
+ </actionGroup >
18
+ </actionGroups >
Original file line number Diff line number Diff line change 16
16
<waitForPageLoad stepKey =" waitForPageLoad1" />
17
17
<see selector =" {{StorefrontCategoryMainSection.CategoryTitle}}" userInput =" {{category.name_lwr}}" stepKey =" assertCategoryOnStorefront" />
18
18
<seeInTitle userInput =" {{category.name}}" stepKey =" seeCategoryNameInTitle" />
19
- <see selector = " {{StorefrontCMSPageSection.mainContent}} " userInput =" {{text}}" stepKey =" seeAssertTextInMainContent" />
19
+ <see userInput =" {{text}}" stepKey =" seeAssertTextInMainContent" />
20
20
</actionGroup >
21
21
</actionGroups >
Original file line number Diff line number Diff line change 8
8
<suites xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Suite/etc/suiteSchema.xsd" >
9
9
<suite name =" WYSIWYGDisabledSuite" >
10
10
<before >
11
- <magentoCLI stepKey = " disableWYSYWYG " command = " config:set cms/wysiwyg/enabled disabled " />
11
+ <actionGroup ref = " AdminDisableWYSIWYGActionGroup " stepKey = " disableWYSYWYG " />
12
12
</before >
13
13
<include >
14
14
<group name =" WYSIWYGDisabled" />
17
17
<group name =" skip" />
18
18
</exclude >
19
19
<after >
20
- <magentoCLI stepKey = " disableWYSYWYG " command = " config:set cms/wysiwyg/enabled enabled " />
20
+ <actionGroup ref = " AdminEnableWYSIWYGActionGroup " stepKey = " disableWYSYWYG " />
21
21
</after >
22
22
</suite >
23
23
</suites >
You can’t perform that action at this time.
0 commit comments