|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <!-- |
3 | | - /** |
4 | | - * Copyright © Magento, Inc. All rights reserved. |
5 | | - * See COPYING.txt for license details. |
6 | | - */ |
| 3 | +/** |
| 4 | + * Copyright 2025 Adobe |
| 5 | + * All Rights Reserved. |
| 6 | + */ |
7 | 7 | --> |
8 | 8 | <tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
9 | 9 | <test name="TextVerifyTinyMCEToolbarOnPageBuilderStageTest"> |
|
17 | 17 | <testCaseId value="MC-3463"/> |
18 | 18 | <group value="pagebuilder"/> |
19 | 19 | <group value="pagebuilder-text"/> |
20 | | - <group value="pr_exclude"/> |
21 | 20 | </annotations> |
22 | 21 | <before> |
23 | 22 | <createData entity="_defaultCmsPage" stepKey="createCMSPage"/> |
|
52 | 51 | <seeElement selector="{{WYSIWYGOnPageBuilderInline.textColor}}" stepKey="seeTextColor"/> |
53 | 52 | <seeElement selector="{{WYSIWYGOnPageBuilderInline.backgroundColor}}" stepKey="seeBackgroundColor"/> |
54 | 53 | <!--Verify FontSize--> |
55 | | - <comment userInput="Verify FontSize" stepKey="commentVerifyFontSize"/> |
56 | | - <click selector="{{WYSIWYGOnPageBuilderInline.fontSize}}" stepKey="clickOnFontSize"/> |
57 | | - <see userInput="10px" stepKey="see10px"/> |
58 | | - <see userInput="12px" stepKey="see12px"/> |
59 | | - <see userInput="14px" stepKey="see14px"/> |
60 | | - <see userInput="16px" stepKey="see16px"/> |
61 | | - <see userInput="18px" stepKey="see18px"/> |
62 | | - <see userInput="20px" stepKey="see20px"/> |
63 | | - <see userInput="24px" stepKey="see24px"/> |
64 | | - <see userInput="26px" stepKey="see26px"/> |
65 | | - <see userInput="28px" stepKey="see28px"/> |
66 | | - <see userInput="32px" stepKey="see32px"/> |
67 | | - <see userInput="34px" stepKey="see34px"/> |
68 | | - <see userInput="36px" stepKey="see36px"/> |
69 | | - <see userInput="38px" stepKey="see38px"/> |
70 | | - <see userInput="40px" stepKey="see40px"/> |
71 | | - <see userInput="42px" stepKey="see42px"/> |
72 | | - <see userInput="48px" stepKey="see48px"/> |
73 | | - <see userInput="52px" stepKey="see52px"/> |
74 | | - <see userInput="56px" stepKey="see56px"/> |
75 | | - <see userInput="64px" stepKey="see64px"/> |
76 | | - <see userInput="72px" stepKey="see72px"/> |
| 54 | + <click selector="{{WYSIWYGOnPageBuilderInline.fontSizeMinus}}" stepKey="clickOnFontSizeMinus"/> |
| 55 | + <waitForElementVisible stepKey="see13px" selector="{{WYSIWYGOnPageBuilderInline.fontSizeValue('font-size: 13px')}}"/> |
| 56 | + <click selector="{{WYSIWYGOnPageBuilderInline.fontSizeMinus}}" stepKey="clickOnFontSizeMinusAgain"/> |
| 57 | + <waitForElementVisible stepKey="see12px" selector="//*[@data-mce-style and contains(@style, 'font-size: 12px')]" /> |
| 58 | + <click selector="{{WYSIWYGOnPageBuilderInline.fontSizePlus}}" stepKey="clickOnFontSizePlus"/> |
| 59 | + <waitForElementVisible stepKey="see13pxAfterPlus" selector="//*[@data-mce-style and contains(@style, 'font-size: 13px')]" /> |
| 60 | + <click selector="{{WYSIWYGOnPageBuilderInline.fontSizePlus}}" stepKey="clickOnFontSizePlusOne"/> |
| 61 | + <waitForElementVisible stepKey="see14pxAfterPlus" selector="//*[@data-mce-style and contains(@style, 'font-size: 14px')]" /> |
| 62 | + <click selector="{{WYSIWYGOnPageBuilderInline.fontSizePlus}}" stepKey="clickOnFontSizePlusTwo"/> |
| 63 | + <waitForElementVisible stepKey="see15pxAfterPlus" selector="//*[@data-mce-style and contains(@style, 'font-size: 15px')]" /> |
| 64 | + <click selector="{{WYSIWYGOnPageBuilderInline.fontSizePlus}}" stepKey="clickOnFontSizePlusThree"/> |
| 65 | + <waitForElementVisible stepKey="see16pxAfterPlus" selector="//*[@data-mce-style and contains(@style, 'font-size: 16px')]" /> |
| 66 | + <click selector="{{WYSIWYGOnPageBuilderInline.fontSizePlus}}" stepKey="clickOnFontSizePlusFour"/> |
| 67 | + <waitForElementVisible stepKey="see17pxAfterPlus" selector="//*[@data-mce-style and contains(@style, 'font-size: 17px')]" /> |
| 68 | + <click selector="{{WYSIWYGOnPageBuilderInline.fontSizePlus}}" stepKey="clickOnFontSizePlusFive"/> |
| 69 | + <waitForElementVisible stepKey="see18pxAfterPlus" selector="//*[@data-mce-style and contains(@style, 'font-size: 18px')]" /> |
77 | 70 | <!--Verify LineHeight--> |
78 | 71 | <comment userInput="Verify LineHeight" stepKey="commentVerifyLineHeight"/> |
79 | 72 | <click selector="{{WYSIWYGOnPageBuilderInline.lineHeight}}" stepKey="clickOnLineHeight"/> |
80 | | - <see userInput="10px" stepKey="seeLineHeight10px"/> |
81 | | - <see userInput="12px" stepKey="seeLineHeight12px"/> |
82 | | - <see userInput="14px" stepKey="seeLineHeight14px"/> |
83 | | - <see userInput="16px" stepKey="seeLineHeight16px"/> |
84 | | - <see userInput="18px" stepKey="seeLineHeight18px"/> |
85 | | - <see userInput="20px" stepKey="seeLineHeight20px"/> |
86 | | - <see userInput="24px" stepKey="seeLineHeight24px"/> |
87 | | - <see userInput="26px" stepKey="seeLineHeight26px"/> |
88 | | - <see userInput="28px" stepKey="seeLineHeight28px"/> |
89 | | - <see userInput="32px" stepKey="seeLineHeight32px"/> |
90 | | - <see userInput="34px" stepKey="seeLineHeight34px"/> |
91 | | - <see userInput="36px" stepKey="seeLineHeight36px"/> |
92 | | - <see userInput="38px" stepKey="seeLineHeight38px"/> |
93 | | - <see userInput="40px" stepKey="seeLineHeight40px"/> |
94 | | - <see userInput="42px" stepKey="seeLineHeight42px"/> |
95 | | - <see userInput="48px" stepKey="seeLineHeight48px"/> |
96 | | - <see userInput="52px" stepKey="seeLineHeight52px"/> |
97 | | - <see userInput="56px" stepKey="seeLineHeight56px"/> |
98 | | - <see userInput="64px" stepKey="seeLineHeight64px"/> |
99 | | - <see userInput="72px" stepKey="seeLineHeight72px"/> |
| 73 | + <waitForText userInput="1.1" stepKey="seeValue1"/> |
| 74 | + <waitForText userInput="1.2" stepKey="seeValue2"/> |
| 75 | + <waitForText userInput="1.3" stepKey="seeValue3"/> |
| 76 | + <waitForText userInput="1.4" stepKey="seeValue4"/> |
| 77 | + <waitForText userInput="1.5" stepKey="seeValue5"/> |
| 78 | + <waitForText userInput="2" stepKey="seeValue6"/> |
100 | 79 | <!--Verify FontStyle on preview--> |
101 | 80 | <comment userInput="Verify FontStyle on preview" stepKey="commentVerifyFontsizeOnPreview"/> |
102 | 81 | <clickWithLeftButton x="10" y="10" selector="{{TextOnStage.tinymce('1')}}" stepKey="focusOnEditorArea"/> |
|
0 commit comments