|
3045 | 3045 | <testCaseId value="MC-29450"/>
|
3046 | 3046 | <group value="pagebuilder"/>
|
3047 | 3047 | <group value="pagebuilder-text"/>
|
| 3048 | + <!-- skip due to MQE-1964 --> |
| 3049 | + <group value="skip"/> |
3048 | 3050 | </annotations>
|
3049 | 3051 | <before>
|
3050 | 3052 | <createData entity="_defaultCmsPage" stepKey="createCMSPage" />
|
|
3089 | 3091 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
|
3090 | 3092 | <actionGroup ref="scrollToTinyMCE" stepKey="scrollToTinyMCE"/>
|
3091 | 3093 | <!-- Select portion of Heading "his is a h" -->
|
3092 |
| - <executeInSelenium function="function ($webdriver) use ($I) { |
3093 |
| - $heading = $webdriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath('//div[contains(@class, \'inline-wysiwyg\')]//h2')); |
3094 |
| - $actions = new \Facebook\WebDriver\Interactions\WebDriverActions($webdriver); |
3095 |
| - $actions->moveToElement($heading, {{TinyMCEPartialHeadingSelection.startX}}, {{TinyMCEPartialHeadingSelection.startY}}) |
3096 |
| - ->clickAndHold() |
3097 |
| - ->moveToElement($heading, {{TinyMCEPartialHeadingSelection.endX}}, {{TinyMCEPartialHeadingSelection.endY}}) |
3098 |
| - ->release() |
3099 |
| - ->perform(); |
3100 |
| - }" stepKey="selectHeadingTextInTinyMCE"/> |
| 3094 | + <!--<executeInSelenium function="function ($webdriver) use ($I) {--> |
| 3095 | + <!--$heading = $webdriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath('//div[contains(@class, \'inline-wysiwyg\')]//h2'));--> |
| 3096 | + <!--$actions = new \Facebook\WebDriver\Interactions\WebDriverActions($webdriver);--> |
| 3097 | + <!--$actions->moveToElement($heading, {{TinyMCEPartialHeadingSelection.startX}}, {{TinyMCEPartialHeadingSelection.startY}})--> |
| 3098 | + <!-- ->clickAndHold()--> |
| 3099 | + <!-- ->moveToElement($heading, {{TinyMCEPartialHeadingSelection.endX}}, {{TinyMCEPartialHeadingSelection.endY}})--> |
| 3100 | + <!-- ->release()--> |
| 3101 | + <!-- ->perform();--> |
| 3102 | + <!--}" stepKey="selectHeadingTextInTinyMCE"/>--> |
3101 | 3103 | <actionGroup ref="waitForTinyMCEInFocus" stepKey="waitForTinyMCEInFocus" />
|
3102 | 3104 | <actionGroup ref="assertSelectedText" stepKey="assertSelection">
|
3103 | 3105 | <argument name="expectedSelectedText" value="TinyMCEPartialHeadingSelection"/>
|
|
3107 | 3109 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
|
3108 | 3110 | <actionGroup ref="scrollToTinyMCE" stepKey="scrollToTinyMCE2"/>
|
3109 | 3111 | <!-- Select portion of paragraph text "es stri" -->
|
3110 |
| - <executeInSelenium function="function ($webdriver) use ($I) { |
3111 |
| - $text = $webdriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath('//div[contains(@class, \'inline-wysiwyg\')]//p[2]')); |
3112 |
| - $actions = new \Facebook\WebDriver\Interactions\WebDriverActions($webdriver); |
3113 |
| - $actions->moveToElement($text, {{TinyMCEPartialTextSelection.startX}}, {{TinyMCEPartialTextSelection.startY}}) |
3114 |
| - ->clickAndHold() |
3115 |
| - ->moveToElement($text, {{TinyMCEPartialTextSelection.endX}}, {{TinyMCEPartialTextSelection.endY}}) |
3116 |
| - ->release() |
3117 |
| - ->perform(); |
3118 |
| - }" stepKey="selectTextInTinyMCE"/> |
| 3112 | + <!--<executeInSelenium function="function ($webdriver) use ($I) {--> |
| 3113 | + <!--$text = $webdriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath('//div[contains(@class, \'inline-wysiwyg\')]//p[2]'));--> |
| 3114 | + <!--$actions = new \Facebook\WebDriver\Interactions\WebDriverActions($webdriver);--> |
| 3115 | + <!--$actions->moveToElement($text, {{TinyMCEPartialTextSelection.startX}}, {{TinyMCEPartialTextSelection.startY}})--> |
| 3116 | + <!-- ->clickAndHold()--> |
| 3117 | + <!-- ->moveToElement($text, {{TinyMCEPartialTextSelection.endX}}, {{TinyMCEPartialTextSelection.endY}})--> |
| 3118 | + <!-- ->release()--> |
| 3119 | + <!-- ->perform();--> |
| 3120 | + <!--}" stepKey="selectTextInTinyMCE"/>--> |
3119 | 3121 | <actionGroup ref="waitForTinyMCEInFocus" stepKey="waitForTinyMCEInFocus2" />
|
3120 | 3122 | <actionGroup ref="assertSelectedText" stepKey="assertSelection2">
|
3121 | 3123 | <argument name="expectedSelectedText" value="TinyMCEPartialTextSelection"/>
|
|
3125 | 3127 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage3"/>
|
3126 | 3128 | <actionGroup ref="scrollToTinyMCE" stepKey="scrollToTinyMCE3"/>
|
3127 | 3129 | <!-- Select from part of the heading, over the variable, to part of the text string -->
|
3128 |
| - <executeInSelenium function="function ($webdriver) use ($I) { |
3129 |
| - $heading = $webdriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath('//div[contains(@class, \'inline-wysiwyg\')]//h2')); |
3130 |
| - $text = $webdriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath('//div[contains(@class, \'inline-wysiwyg\')]//p[2]')); |
3131 |
| - $actions = new \Facebook\WebDriver\Interactions\WebDriverActions($webdriver); |
3132 |
| - $actions->moveToElement($heading, {{TinyMCEPartialHeadingSelection.startX}}, {{TinyMCEPartialHeadingSelection.startY}}) |
3133 |
| - ->clickAndHold() |
3134 |
| - ->moveToElement($text, {{TinyMCEPartialTextSelection.endX}}, {{TinyMCEPartialTextSelection.endY}}) |
3135 |
| - ->release() |
3136 |
| - ->perform(); |
3137 |
| - }" stepKey="selectHeadingTextAndVariableTinyMCE"/> |
| 3130 | + <!--<executeInSelenium function="function ($webdriver) use ($I) {--> |
| 3131 | + <!--$heading = $webdriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath('//div[contains(@class, \'inline-wysiwyg\')]//h2'));--> |
| 3132 | + <!--$text = $webdriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath('//div[contains(@class, \'inline-wysiwyg\')]//p[2]'));--> |
| 3133 | + <!--$actions = new \Facebook\WebDriver\Interactions\WebDriverActions($webdriver);--> |
| 3134 | + <!--$actions->moveToElement($heading, {{TinyMCEPartialHeadingSelection.startX}}, {{TinyMCEPartialHeadingSelection.startY}})--> |
| 3135 | + <!-- ->clickAndHold()--> |
| 3136 | + <!-- ->moveToElement($text, {{TinyMCEPartialTextSelection.endX}}, {{TinyMCEPartialTextSelection.endY}})--> |
| 3137 | + <!-- ->release()--> |
| 3138 | + <!-- ->perform();--> |
| 3139 | + <!--}" stepKey="selectHeadingTextAndVariableTinyMCE"/>--> |
3138 | 3140 | <actionGroup ref="waitForTinyMCEInFocus" stepKey="waitForTinyMCEInFocus3" />
|
3139 | 3141 | <actionGroup ref="assertSelectedText" stepKey="assertSelection3">
|
3140 | 3142 | <argument name="expectedSelectedText" value="TinyMCEHeadingVariableTextSelection"/>
|
|
0 commit comments