protected function ParagraphSplitTest::getCkEditorCssSelector in Thunder 6.1.x
Same name and namespace in other branches
- 8.5 tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::getCkEditorCssSelector()
- 8.2 tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::getCkEditorCssSelector()
- 8.3 tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::getCkEditorCssSelector()
- 8.4 tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::getCkEditorCssSelector()
- 6.2.x tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::getCkEditorCssSelector()
- 6.0.x tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::getCkEditorCssSelector()
Create css selector for paragraph with the given delta.
Parameters
int $paragraphDelta: The delta of the paragraph.
Return value
string Css selector for the paragraph.
3 calls to ParagraphSplitTest::getCkEditorCssSelector()
- ParagraphSplitTest::testAddParagraphAfterSplitDataLoss in tests/
src/ FunctionalJavascript/ Integration/ ParagraphSplitTest.php - Test if a adding paragraph after split leads to data loss.
- ParagraphSplitTest::testParagraphSplitBefore in tests/
src/ FunctionalJavascript/ Integration/ ParagraphSplitTest.php - Test split of paragraph before a selection.
- ParagraphSplitTest::testParagraphSplitDataLoss in tests/
src/ FunctionalJavascript/ Integration/ ParagraphSplitTest.php - Test if a deleted paragraph leads to data loss.
File
- tests/
src/ FunctionalJavascript/ Integration/ ParagraphSplitTest.php, line 149
Class
- ParagraphSplitTest
- Tests the paragraph split module integration.
Namespace
Drupal\Tests\thunder\FunctionalJavascript\IntegrationCode
protected function getCkEditorCssSelector($paragraphDelta) {
return sprintf(static::$selectorTemplate, static::$paragraphsField, $paragraphDelta);
}